com.ozten.util
Class SwingUtil

java.lang.Object
  |
  +--com.ozten.util.SwingUtil

public class SwingUtil
extends java.lang.Object


Constructor Summary
SwingUtil()
           
 
Method Summary
static java.awt.Frame getFrame(java.awt.Component c)
          Walks through a components heirarcy and tries to find top level
java.awt.Frame object.
static void main(java.lang.String[] args)
           
static void testGetFrame()
           
 
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

getFrame

public static java.awt.Frame getFrame(java.awt.Component c)
Walks through a components heirarcy and tries to find top level
java.awt.Frame object.
Parameters:
c - - the component
Returns:
Frame - the frame it is living in, or null.

testGetFrame

public static void testGetFrame()

main

public static void main(java.lang.String[] args)