public abstract class SwingHelper
extends java.lang.Object
Constructor and Description |
---|
SwingHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
setEnabled(java.awt.Component comp,
boolean enable)
Enables or disables the given GUI component, as well as
its sub-components recursively when it is a container.
|
public static void setEnabled(java.awt.Component comp, boolean enable)
comp
- the target component to recursively enable
or disableenable
- true to enable the component(s), false to
disable the component(s)