java >
Guidelines Home Page >  Java Look and Feel Design Guidelines
>
Part IV: Backmatter
> A: Keyboard Shortcuts, Mnemonics, and Other Keyboard Operations >
Command Buttons
  Previous Next Contents/Index/Search


Command Buttons

The following table lists the keyboard operations for command buttons. For more information on this component, see Command Buttons.

Keyboard Operation Action
Spacebar Activates command button that has keyboard focus
Enter, Return Activates default button (does not require keyboard focus)
Escape Activates Cancel button (does not require keyboard focus)


Java Look and Feel Design Guidelines, second edition.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.
Previous Next Contents/Index/Search
Table 17   Keyboard Operations for Command Buttons 
Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
JavaOne Banner
Java 8 banner (182)