Button.notifyDefault

Overview | Methods | This Package | All Packages

Button.notifyDefault

Notifies the button whether it is the default button so that it can adjust its appearance accordingly.

Syntax

public void notifyDefault( boolean value )

Parameters

value

Set to true if the button has the appearance of the default button (if it has a thicker border than usual); otherwise, set to false.

Remarks

From the parent form, call the setAcceptButton to set the default button, and then call the notifyDefault method to allow the button to adjust its appearance.