예제 #1
0
 public void focusGained(FocusEvent e) {
   WindowManager.setWindow(this);
 }
예제 #2
0
 public void windowActivated(WindowEvent e) {
   ImageJ ij = IJ.getInstance();
   if (IJ.isMacOSX() && ij != null && !ij.isActive() && !(this instanceof ThresholdAdjuster))
     ij.toFront();
   WindowManager.setWindow(this);
 }