FileDocCategorySizeDatePackage
ComponentUtilities.javaAPI DocExample629Mon Mar 24 02:03:08 GMT 1997None

ComponentUtilities

public class ComponentUtilities extends Object

Fields Summary
Constructors Summary
Methods Summary
public static java.awt.FramegetTopLevelParent(java.awt.Component component)

        Component c = component;
        while (c.getParent() != null)
            c = c.getParent();
        if (c instanceof Frame)
            return (Frame)c;
        else
            return null;