|Java TM Look and Feel Design Guidelines: Advanced Topics > Part II: Special Topics > 2: Windows > Window Titles for Identically Named Objects and Views||
Figure 20 illustrates the conventions for titling windows that represent identically named objects or multiple views of the same object.Figure 20 Window Titles for Identically Named Objects and for Multiple Views
In primary windows that display identically named objects or views, the window title includes a suffix to the Object Name . However, the suffix is not part of the Object Name . For example, in Object 2, view 1, of Figure 20, the suffix " (2):1" is not part of "User Accounts"--the Object Name .
Applications can display more than one window at a time. As a result, different windows can display objects whose names are identical. For example, two windows might each display a different document named
Report. To avoid confusion and to help users distinguish between such windows, use the following guideline.
If two or more objects have the same name, make their names unique in window titles by appending a space and the suffix ( n ) to the Object Name in each window's title text--where n is an increasing integer.
For example, at a user's request, an application might show the contents of a folder or directory as a list in one window and as a set of icons in a different window. In such windows, the correct format for the Object Name in the title text depends on whether the window is a primary window, as described in the following guidelines.
If multiple primary windows show views of the same object, distinguish each of the windows by appending the suffix : n to the object name in the window title--for example, Report:2. (The letter n stands for an increasing integer.)
If your application displays multiple objects with the same name and multiple views of the same object, place the view number after the duplicate- name identifier in each window title--for example, Report (2):3.
|Java Look and Feel Design Guidelines: Advanced Topics.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.