Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
MenuItem.getDefault
Retrieves a boolean value that indicates whether this menu item is the default menu item.
Syntax
public boolean getDefault()
Return Value
Returns true if this menu item is the default menu item; otherwise, returns 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 setDefault