Examples of JModalWindow


Examples of org.noos.xing.mydoggy.plaf.ui.cmp.JModalWindow

        return floatingAnimation.isAnimating();
    }


    private void initFloatingComponents() {
        window = new JModalWindow(getResourceManager(),
                                  descriptor.getWindowAnchestor(),
                                  null,
                                  false);
        window.setName("toolWindow.floating.window." + toolWindow.getId());
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.JModalWindow

                                                 resourceManager,
                                                 resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                                 null,
                                                 false);
                    } else {
                        window = new JModalWindow(resourceManager,
                                                  resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                                  null,
                                                  false);
                    }
                    window.setBounds(oldWindow.getBounds());
                    window.setName("toolWindow.floating.window." + toolWindow.getId());
                    window.setContentPane(oldWindow.getContentPane());
                    resizeMouseInputHandler = new FloatingResizeMouseInputHandler(window.getWindow());
                    moveMouseInputHandler = new FloatingMoveMouseInputHandler(window.getWindow());
                    window.getWindow().addMouseMotionListener(resizeMouseInputHandler);
                    window.getWindow().addMouseListener(resizeMouseInputHandler);
                    window.getWindow().addComponentListener(windowComponentAdapter);

                    // Dispose old
                    oldWindow.getWindow().dispose();

                    // Show new
                    window.setVisible(true);

                    if (focusOwner != null)
                        SwingUtil.requestFocus(focusOwner);
                } else {
                    ModalWindow oldWindow = window;

                    // Clean old window
                    oldWindow.getWindow().removeComponentListener(windowComponentAdapter);
                    oldWindow.getWindow().removeMouseMotionListener(resizeMouseInputHandler);
                    oldWindow.getWindow().removeMouseListener(resizeMouseInputHandler);

                    // Prepare for new
                    if ((Boolean) evt.getNewValue()) {
                        window = new JModalFrame(toolWindow,
                                                 resourceManager,
                                                 resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                                 null,
                                                 false);
                    } else {
                        window = new JModalWindow(resourceManager,
                                                  resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                                  null,
                                                  false);
                    }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.JModalWindow

                                     resourceManager,
                                     resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                     null,
                                     false);
        } else {
            window = new JModalWindow(resourceManager,
                                      resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                      null,
                                      false);
        }
        window.setName("toolWindow.floating.window." + toolWindow.getId());
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.JModalWindow

        return floatingAnimation.isAnimating();
    }


    protected void initComponents() {
        window = new JModalWindow(dockedContainer.getResourceManager(),
                dockedContainer.getResourceManager().getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                null,
                false);
        window.setName("toolWindow.floating.window." + toolWindow.getId());
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.JModalWindow

        return floatingAnimation.isAnimating();
    }


    protected void initComponents() {
        window = new JModalWindow(resourceManager,
                                  resourceManager.getBoolean("dialog.owner.enabled", true) ? descriptor.getWindowAnchestor() : null,
                                  null,
                                  false);
        window.setName("toolWindow.floating.window." + toolWindow.getId());
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.modal.JModalWindow

        }
    }


    private void initFloatingComponents() {
        window = new JModalWindow(descriptor.getWindowAnchestor(), null, false);
        window.setName("toolWindow.floating.window." + toolWindow.getId());

        JPanel contentPane = new JPanel(new ExtendedTableLayout(new double[][]{{1, TableLayout.FILL, 1}, {1, TableLayout.FILL, 1}}));
        contentPane.setBorder(BorderFactory.createLineBorder(Color.GRAY));
        window.setContentPane(contentPane);
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.modal.JModalWindow

        }
    }


    private void initFloatingComponents() {
        window = new JModalWindow(descriptor.getWindowAnchestor(), null, false);

        JPanel contentPane = new JPanel(new ExtendedTableLayout(new double[][]{{1, TableLayout.FILL, 1}, {1, TableLayout.FILL, 1}}));
        contentPane.setBorder(BorderFactory.createLineBorder(Color.GRAY));
        window.setContentPane(contentPane);
    }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.modal.JModalWindow

        }
    }


    private void initFloatingComponents() {
        window = new JModalWindow(descriptor.getWindowAnchestor(), null, false);
//                new JWindow(descriptor.getWindowAnchestor());

        JPanel contentPane = new JPanel(new ExtendedTableLayout(new double[][]{{1, TableLayout.FILL, 1}, {1, TableLayout.FILL, 1}}));
        contentPane.setBorder(BorderFactory.createLineBorder(Color.GRAY));
        window.setContentPane(contentPane);
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.modal.JModalWindow

    }
  }


  private void initFloatingComponents() {
    window = new JModalWindow(descriptor.getWindowAnchestor(), null, false);
//                new JWindow(descriptor.getWindowAnchestor());

    JPanel contentPane = new JPanel(new ExtendedTableLayout(new double[][]{{1, TableLayout.FILL, 1}, {1, TableLayout.FILL, 1}}));
    contentPane.setBorder(BorderFactory.createLineBorder(Color.GRAY));
    window.setContentPane(contentPane);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.