java.sun.com >
Guidelines Home Page > Java Look and Feel Design Guidelines
>
Part IV: Backmatter
> A: Keyboard Shortcuts, Mnemonics, and Other Keyboard Operations
  PreviousNextContents/Index/Search


A: Keyboard Shortcuts, Mnemonics, and Other Keyboard Operations

This appendix presents common keyboard shortcuts and mnemonics in alphabetical order and summarizes JFC-supplied keyboard navigation, activation, and selection operations in a series of tables (arranged alphabetically by component). The left column describes a keyboard operation (for example, left arrow key) and the right column of each table describes the corresponding action (for example, moving focus to the left).

Navigating means to move the input focus from one user interface component to another; activating refers to operating the component; selecting means to choose one or more user objects such as text or icons, typically for a subsequent action. For an overview of these concepts, see Keyboard Navigation and Activation.

In general, navigating between components uses these keys:

Some actions in the table list several possible keyboard operations, separated by a comma. For example, both Home and Ctrl-Home move focus to the beginning of a list.

 Ensure that you provide multiple operations that take into account the differences between operating environments if your application runs on several.

 Some of the keyboard operations described in the following tables might be temporarily incomplete or not implemented. However, these key sequences should be reserved for future versions of the JFC and the Java 2 platform.

 The arrow keys are insensitive to the component orientation feature in the Java 2 SDK. (Component orientation is the automatic positioning of components to reflect the writing system of a locale--for instance, left to right, or right to left.) For example, the right arrow moves the action right regardless of the orientation of the locale.

Common Keyboard Shortcuts

The following table provides an alphabetically sorted list of common keyboard shortcuts. Use this table to see which keyboard shortcuts are used and which are available. (You can use these shortcuts for other purposes if your application does not provide the associated function and will not add that function in the foreseeable future.) For a table of keyboard shortcuts organized according to menus, see Table 8.

Table 12   Alphabetical List of Common Keyboard Shortcuts 
Sequence Equivalent
Ctrl-A Select All (Edit menu)
Ctrl-B Bold (Format menu)
Ctrl-C Copy (Edit menu)
Ctrl-E Align Center (Format menu)
Ctrl-F Find (Edit menu)
Ctrl-G Find Again (Edit menu)
Ctrl-H Replace (Edit menu)
Ctrl-I Italic (Format menu)
Ctrl-L Align Left (Format menu)
Ctrl-N New (File menu)
Ctrl-O Open (File menu)
Ctrl-P Print (File menu)
Ctrl-R Align Right (Format menu)
Ctrl-S Save (File menu)
Ctrl-U Underline (Format menu)
Ctrl-V Paste (Edit menu)
Ctrl-W Close (File menu)
Ctrl-X Cut (Edit menu)
Ctrl-Y Redo (Edit menu)
Ctrl-Z Undo (Edit menu)
Delete Delete (Edit menu)
F1 Help
F5 Refresh
Shift-F1 Contextual help



Java Look and Feel Design Guidelines, second edition.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.
PreviousNextContents/Index/Search