|Java TM Look and Feel Design Guidelines: Advanced Topics > Part II: Special Topics > 2: Windows > Primary Windows||
A primary window represents an object (such as an email message) or a set of objects (such as all the messages in a mail window). For information about representing the properties of objects, see Property Windows.
Primary windows contain a title bar and, optionally, a menu bar, toolbar, and status bar, as shown in Figure 3.Figure 3 Elements of a Primary Window
The title bar of a primary window displays text that includes the name of the object, or set of objects, that the window represents. Figure 4 shows a typical title bar for a primary window.Figure 4 Title Bar of a Primary Window
For more information about window titles, see Chapter 7 of Java Look and Feel Design Guidelines , 2d ed. In addition, see Window Titles for Identically Named Objects and Views of this book.
In primary windows, begin the window title text with the name of the object or set of objects that the window represents, followed by a space, a hyphen, another space, and the application name.
Primary windows can contain a toolbar, as shown in Figure 5.Figure 5 Toolbar of a Primary Window
If users can access an action from a toolbar, provide keyboard access to that action as well. Alternatively, provide an equivalent action that is keyboard accessible.For example, if you provide a toolbar control for printing text, you might also provide a menu item for printing text. Toolbar controls can differ from their corresponding menu items--but only in that the toolbar control uses default values, whereas the menu item opens an action window.
Omit all toolbar controls from the keyboard traversal order so that expert users to navigate more easily. If a user presses the Tab key to move keyboard focus in a window, do not move focus to toolbar controls.
Provide a tool tip for each toolbar control, especially if the control has no label. (For more information about tool tips, see "Tool Tips" on page 68 .)
The bottom of primary windows can include a status bar, as shown in Figure 6.Figure 6 Status Bar at the Bottom of a Primary Window
To avoid displaying obsolete information in a window's status bar, clear each status message when the next user action occurs in that window.
|Java Look and Feel Design Guidelines: Advanced Topics.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.