Overview | Methods | This Package | All Packages
Sets a boolean value that determines whether this menu item is the default item for the submenu in which it appears.
Syntax
public void setDefault( boolean value )
Parameters
value
Set to true to make this menu item the default; otherwise, set to false.
Remarks
The default menu item for a menu is boldfaced. When the user double-clicks on a submenu that contains a default item, the default item is selected and the submenu is closed.
See Also getDefault