/** * Clears the active window. */ public static void clearActive() { if (activeWindow != null) { setActiveWindow(activeWindow.owner); } }
/** * Clears the active window. */ public static void clearActive() { setActiveWindow(null); }
/** * Requests that this window become the active window. * * @return * <tt>true</tt> if the window became active; <tt>false</tt>, otherwise. */ public boolean requestActive() { if (isOpen() && isVisible() && isEnabled()) { setActiveWindow(this); } return isActive(); }
/** * Requests that this window become the active window. * * @return * <tt>true</tt> if the window became active; <tt>false</tt>, otherwise. */ public boolean requestActive() { if (isOpen() && isVisible() && isEnabled()) { setActiveWindow(this); } return isActive(); }