|Java TM Look and Feel Design Guidelines: Advanced Topics > Part II: Special Topics > 2: Windows > Action Windows||
Action windows are dialog boxes that request information for completing an action. Open an action window if a user activates a menu command or command button that requires additional user input to complete an action. Figure 16 shows an action window.Figure 16 Action Window
As shown in Figure 16, an action window contains:
For more information about these characteristics, see Chapter 8 of Java Look and Feel Design Guidelines , 2d ed.
For information about positioning an action window in relation to its parent window, see Positioning Secondary Windows.
Place an ellipsis (...) at the end of the label for a menu command or command button that opens an action window.
Figure 17 shows the title text of an action window opened from a Print menu item. The window affects an object named
If an action window enables a user to create an object, the window's title text cannot include that object's name because the object does not yet exist. Figure 18 shows the title text of such an action window, opened from a New Rivet menu item.Figure 18 Title Text of an Action Window That Creates a New Object
In Figure 18, the title text shows only the name of the menu item that opened the action window.
If a user might not recognize the source of a particular action window, format the title text like this: Object Name - Menu Item - Application Name . (Precede each hyphen by one space and follow it by one space.)
In a modeless action window, ensure that the title text always reflects the object that the window affects.
The command buttons are right-justified in the window's button area, as shown in Figure 19.Figure 19 Command Buttons in an Action Window (Multiple-Use)
An action window's leftmost command button performs an action using values from the window's controls. For example, in Figure 19, the Replace button performs an action using the value that the user enters in the input field labeled Replacement.
Action windows can be single-use or multiple-use. In a single-use action window, ensure that all command buttons (except the Help button) perform their action and then close the window. In a multiple-use action window, ensure that all command buttons except the Close button perform their action and leave the window open.
If users can perform only one action from a single-use action window, label the window's command button OK, or preferably, provide a more specific label. However, if the window has more than one button that can cause an action, do not label any button OK. Instead, provide a more specific label for each button.
In an action window, ensure that clicking the title bar's close-window control has the same effect as clicking the window's dismissal button.
|Java Look and Feel Design Guidelines: Advanced Topics.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.