jsky.util.gui
Class SwingUtil
java.lang.Object
jsky.util.gui.SwingUtil
public class SwingUtil
- extends Object
Various Swing related utility methods.
- Version:
- $Revision: 1.3 $
- Author:
- Allan Brighton
Method Summary |
static Frame |
getFrame(Component window)
Return the Frame (or JFrame) containing the given window, or null if there is none. |
static void |
showFrame(Component frame)
Make sure that the given JFrame or JInternalFrame is visible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwingUtil
public SwingUtil()
showFrame
public static void showFrame(Component frame)
- Make sure that the given JFrame or JInternalFrame is visible
getFrame
public static Frame getFrame(Component window)
- Return the Frame (or JFrame) containing the given window, or null if there is none.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.