Component.setEnabled

Component.setEnabled

Class Overview | Class Members | This Package | All Packages

Syntax
public void setEnabled( boolean b )
Parameters
b
If true, this component is enabled; otherwise this component is disabled.
Description
Enables or disables this component, depending on the value of the parameter b. An enabled component can respond to user input and generate events. Components are enabled initially by default.

See Also
isEnabled