GUI Commands User GuideVersion 2.1 |
||
Utility MethodsTwo methods are provided for managing the focus of the various buttons produced by commands. Command.requestFocusIn(Container)This method finds the first attachment of the command in the specified container and
attempts to focus it. This method is available to both ActionCommand.requestDefaultIn(RootPaneContainer)This method finds the first attachment of the command in the specified container
and sets it to be the default by calling |
||