Package java.awt

Examples of java.awt.Window.toFront()


                theModel.nodeStructureChanged(parent);
            }

            Window w = SwingUtilities.windowForComponent(support.getComponent());
            if (w != null) {
                w.toFront();
            }
            return true;
        }
    }
View Full Code Here


                public void run() {
                    canvasManifestation.setSelection(panels);
                    canvasManifestation.firePanelsDropped();
                    Window w = SwingUtilities.getWindowAncestor(canvasManifestation);
                    if (w != null) {
                        w.toFront();
                    }
                } // run
            });
        }
View Full Code Here

     */
    protected void warning(String title, String message) {
        Window parent = SwingUtilities.getWindowAncestor(getUI());
        // すでに JSheet が出ている場合は,toFront してリターン
        if (MyJSheet.isAlreadyShown(parent)) {
            parent.toFront();
            return;
        }
        MyJSheet.showMessageDialog(parent, message, ClientContext.getFrameTitle(title), JOptionPane.WARNING_MESSAGE);
    }
}
View Full Code Here

        return;
      }
      Point dragWindowOffset = ev.getPoint();
      Window w = (Window) ev.getSource();
      if (w != null) {
        w.toFront();
      }
      Point convertedDragWindowOffset = SwingUtilities.convertPoint(w,
          dragWindowOffset, SubstanceRootPaneUI.this.getTitlePane());

      Frame f = null;
View Full Code Here

        DelayedJob.createAndSchedule(delay, new Runnable() {

            @Override
            public void run() {
                if (window != null) {
                    window.toFront();
                    window.requestFocus();
                }
                FocusUtils.requestFocusLater(target, 150);
            }
        });
View Full Code Here

        java.awt.Toolkit.getDefaultToolkit().beep(); //BEEP!
        AddImageWizardAddingProgressVisual panel = progressPanel.getComponent();
        if (panel != null) {
            Window w = SwingUtilities.getWindowAncestor(panel);
            if (w != null) {
                w.toFront();
            }
        }
        // Tell the panel we're done
        progressPanel.setStateFinished();
               
View Full Code Here

      {
        if (w instanceof JaspiraPageContainer)
        {
          ((JaspiraPageContainer) w).setPageActive(this);
        }
        w.toFront();
      }
    }
  }

  public void sliceContainer(PluginContainer toInsert, PluginContainer currentContainer, String constraint)
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.