jsky.util.gui
Class SwingUtil

java.lang.Object
  extended by jsky.util.gui.SwingUtil

public class SwingUtil
extends java.lang.Object

Various Swing related utility methods.

Version:
$Revision: 1.1 $
Author:
Allan Brighton

Constructor Summary
SwingUtil()
           
 
Method Summary
static java.awt.Frame getFrame(java.awt.Component window)
          Return the Frame (or JFrame) containing the given window, or null if there is none.
static void showFrame(java.awt.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
 

Constructor Detail

SwingUtil

public SwingUtil()
Method Detail

showFrame

public static void showFrame(java.awt.Component frame)
Make sure that the given JFrame or JInternalFrame is visible


getFrame

public static java.awt.Frame getFrame(java.awt.Component window)
Return the Frame (or JFrame) containing the given window, or null if there is none.