jsky.util.gui
Class SwingUtil

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

public class SwingUtil
extends Object

Various Swing related utility methods.

Version:
$Revision: 1.3 $
Author:
Allan Brighton

Constructor Summary
SwingUtil()
           
 
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
 

Constructor Detail

SwingUtil

public SwingUtil()
Method Detail

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.