public static boolean isOnlyVisibleComponent(Component c)(Code)
isOnlyVisibleComponents
public static boolean isOnlyVisibleComponents(Component[] c)(Code)
requestFocus
public static boolean requestFocus(Component component)(Code)
Requests focus unless the component already has focus. For some weird
reason calling
Component.requestFocusInWindow when the
component is focus owner changes focus owner to another component!
Parameters: component - the component to request focus for true if the component has focus or probably will get focus,otherwise false
setAllOpaque
public static void setAllOpaque(Container c, boolean opaque)(Code)
Requests focus for a component. If that's not possible it's
FocusTraversalPolicy is checked. If that doesn't work all it's
children is recursively checked with this method.
Parameters: component - the component to request focus for the component which has focus or probably will obtain focus, nullif no component will receive focus