| java.sun.com > Guidelines Home Page > Java Look and Feel Design Guidelines > Part IV: Backmatter > B: Graphics Repository |
This appendix presents toolbar button and menu item
graphics designed specifically for use in Java look and feel applications. The information is based on the Java Look and Feel
Graphics Repository, which is available at http://java.sun.com/products/jfc/tsc.
The contents of this appendix are available on the
book's companion CD-ROM.
As a general rule, use 16 x 16 pixel
graphics for menu items and 24 x 24 pixel
graphics for toolbar buttons.
These professional-quality graphics can save valuable development time and ensure consistent graphics and terminology across Java look and feel applications.
The graphics are organized into six functional groups:
.../toolbarButtonGraphics/groupName/NameSize.giftoolbarButtonGraphics folder of the Java Archive. Therefore, the file-name information includes only the groupName subdirectory and NameSize.gif file name.
Because the graphics are located in subdirectories,
the path information is necessary. For instance, the repository contains two graphics for Stop--one for media transport and one for
general use.
Provide both graphics and text in a toolbar when you
deem it
appropriate--for instance, to accommodate novice or occasional users and
those with poor vision. If you decide to display both button text and graphics,
provide a way for end users to indicate their preferences for button text only,
graphics only, or button text and graphics.
You can use the information in this appendix to create
Swing actions. For
more on Swing actions, see the Java 2 Platform, Standard Edition, v 1.3 API
Specification by visiting http://java.sun.com/j2se/1.3/docs/api/javax/swing/Action.html.
This section provides general-purpose graphics that represent:
This section contains graphics that represent the addition of an object to an existing set of objects.
Graphics
Description
Adds an object to an existing set of objects
Name
Add {Object Name}
Tool Tip
Add {Object Name}
Mnemonic
A, D
File Name
.../general/Add16.gif
.../general/Add24.gif
Other Notes
For more information on the plus symbol in the lower- right corner of the document graphic, see Add Object Indicators.
Graphics
Description
Creates a new object
Name
New {Object Name}
Tool Tip
New {Object Name}
Shortcut
Ctrl-N
Mnemonic
N, W
File Name
.../general/New16.gif
.../general/New24.gif
Other Notes
For more information on the twinkle symbol on the lower-right corner of the document graphic, see New Object Indicators.
| Graphics |
|
| Description | Opens the specified object |
| Name | Open {Object Name} |
| Tool Tip | Open {Object Name} |
| Shortcut | Ctrl-O |
| Mnemonic | O, P, N |
| File Name |
.../general/Open16.gif |
The graphics in this section provide representations for saving edits or checkpoints for a specified object or group of objects.
Graphics
Description
Saves the object being edited to a different, permanent storage area
Name
Save As
Tool Tip
Save As
Mnemonic
A, S, V
File Name
.../general/SaveAs16.gif
.../general/SaveAs24.gif
The graphic in this section represents stopping an action or a process. Compare this section to Stop, which is for media transport processes.
This section provides graphics to represent updating the screen display with new data.
Graphics
Description
Updates screen display with new data
Name
Refresh {Object Name}
Tool Tip
Refresh {Object Name}
Mnemonic
R, F, S, H
File Name
.../general/Refresh16.gif
.../general/Refresh24.gif
This section provides graphics to represent changing the magnification level used to view an object.
Graphics
Description
Changes the magnification level used to view an object
Name
Zoom
Tool Tip
Zoom
Mnemonic
Z, M
File Name
.../general/Zoom16.gif
.../general/Zoom24.gif
This section provides graphics to represent the display of:
Graphics
Description
Displays global attributes of the current application that might be set by users
Name
Preferences
Tool Tip
Preferences
Mnemonic
P, R, F
File Name
.../general/Preferences16.gif
.../general/Preferences24.gif
Other Notes
See Properties Indicators.
Graphics
Description
Displays local characteristics of a selected object that might be edited by users
Name
Properties
Tool Tip
Properties
Mnemonic
P, R, T, S
File Name
.../general/Properties16.gif
.../general/Properties24.gif
Other Notes
See Properties Indicators.
This section provides graphics that represent operations such as page setup, printing, and print previews.
Graphics
Description
Enables users to specify properties for the current print job
Name
Page Setup
Tool Tip
Page Setup
Mnemonic
G, S, P
File Name
.../general/PageSetup16.gif
.../general/PageSetup24.gif
Other Notes
See Properties Indicators. Page setup properties might include printer
selection, paper orientation, size, and so forth.
Graphics
Description
Sends an object or set of objects to be printed
Name
Print
Tool Tip
Print
Shortcut
Ctrl-P
Mnemonic
P, R, N
File Name
.../general/Print16.gif
.../general/Print24.gif
This section provides graphics that represent bookmarks and history files.
A bookmark is a saved URL (uniform resource locator) for a web page that has been added to a list of saved URLs. When users view a particular web site and want to return to it subsequently, they can create a bookmark for the site.
On the other hand, a history file displays a list of previously visited locations (or opened files).
Graphics
Description
Displays a list of documents marked for later retrieval
Name
Bookmarks
Tool Tip
Bookmarks
Mnemonic
B, K, M, R
File Name
.../general/Bookmarks16.gif
.../general/Bookmarks24.gif
Graphics
Description
Displays a list of previously visited locations (or opened files)
Name
History
Tool Tip
History
Mnemonic
H, S, T, Y
File Name
.../general/History16.gif
.../general/History24.gif
This section provides graphics that represent the creation and sending of electronic mail messages.
Graphics
Description
Creates a new electronic mail message
Name
Compose Mail
Tool Tip
Compose Mail
Mnemonic
M, L, C
File Name
.../general/ComposeMail16.gif
.../general/ComposeMail24.gif
Graphics
Description
Sends the specified electronic mail message
Name
Send Mail
Tool Tip
Send Mail
Mnemonic
S, M, L, N
File Name
.../general/SendMail16.gif
.../general/SendMail24.gif
This section contains graphics that represent the alignment of objects. Compare these graphics with the graphics in Justifying Objects.
Do not use these graphics for textual objects. Instead use the graphics described in Text Alignment and Justification.
Graphics
Description
Positions an object so that it is in the middle of its container along both horizontal and vertical axes
Name
Align Center {Object Name}
Tool Tip
Align Center {Object Name}
Shortcut
Ctrl-E
Mnemonic
C, N, T, R
File Name
.../general/AlignCenter16.gif
.../general/AlignCenter24.gif
Other Notes
Do not use these graphics for textual objects; see Align Center.
Graphics
Description
Positions an object to line up with the leading vertical edge of its container
Name
Align Left {Object Name}
Tool Tip
Align Left {Object Name}
Shortcut
Ctrl-L
Mnemonic
L, F, T
File Name
.../general/AlignLeft16.gif
.../general/AlignLeft24.gif
Other Notes
Do not use these graphics for textual objects; see Align Left.
Graphics
Description
Positions an object to line up with the trailing vertical edge of its container
Name
Align Right {Object Name}
Tool Tip
Align Right {Object Name}
Shortcut
Ctrl-R
Mnemonic
R, G, H, T
File Name
.../general/AlignRight16.gif
.../general/AlignRight24.gif
Other Notes
Do not use these graphics for textual objects; see Align Right.
This section provides graphics to represent the justification of objects. Compare these graphics to those described in Text Alignment and Justification.
Graphics
Description
Positions an object so that it fills the middle of its container evenly all the way to either vertical edge
Name
Horizontally Justify {Object Name}
Tool Tip
Horizontally Justify {Object Name}
Mnemonic
H, R, Z
File Name
.../general/AlignJustifyHorizontal16.gif
.../general/AlignJustifyHorizontal24.gif
Other Notes
Do not use these graphics for textual objects; see Justify.
Graphics
Description
Positions an object to fill the middle of its container evenly all the way to either horizontal edge
Name
Vertically Justify {Object Name}
Tool Tip
Vertically Justify {Object Name}
Mnemonic
V, R, T
File Name
.../general/AlignJustifyVertical16.gif
.../general/AlignJustifyVertical24.gif
Other Notes
Do not use these graphics for textual objects; see Justify.
This section provides graphics that represent search operations ranging from simple find-and-replace features within a document or a web page to a more comprehensive search feature with a scope as broad as one or more web sites or the entire World Wide Web.
Graphics
Description
Displays a window that enables the user to specify criteria to search for a specified object
Name
Find In {Scope}
Tool Tip
Find In {Scope}
Shortcut
Ctrl-F
Mnemonic
F, N, D
File Name
.
../general/Find16.gif
.../general/Find24.gif
Other Notes
Compare to Search. Find is used within an object (such as a document),
whereas Search is used for more extensive operations across objects (for instance, multiple documents within a folder).
Graphics
Description
Searches for the next instance of the object specified by the previous Find In command
Name
Find Again {Object Name}
Tool Tip
Find Again {Object Name}
Shortcut
Ctrl-G
Mnemonic
A, G, N
File Name
.../general/FindAgain16.gif
.../general/FindAgain24.gif
Other Notes
Compare to Find In and Search.
Graphics
Description
Substitutes one object for another
Name
Replace
Tool Tip
Replace
Shortcut
Ctrl-H
Mnemonic
R, P, L, C
File Name
.../general/Replace16.gif
.../general/Replace24.gif
Graphics
Description
Searches for a specified object
Name
Search {Object Name} {in
Scope}
Tool Tip
Search {Object Name} {in
Scope}
Mnemonic
S, R, C, H
File Name
.../general/Search16.gif
.../general/Search24.gif
Other Notes
Compare to Find In.
The graphics in this section represent common editing features such as copying, cutting, pasting, undoing, and redoing.
Graphics
Description
Removes the selected object from its current location and makes it available to be pasted elsewhere
Name
Cut
Tool Tip
Cut
Shortcut
Ctrl-X
Mnemonic
T, C
File Name
.../general/Cut16.gif
.../general/Cut24.gif
Other Notes
See also Delete and Remove.
Graphics
Description
Removes the selected object from its current location
Name
Delete
Tool Tip
Delete
Shortcut
Delete
Mnemonic
D, L, T
File Name
.../general/Delete16.gif
.../general/Delete24.gif
Other Notes
See also Remove and Cut.
Graphics
Description
Removes the selected item from its current context
Name
Remove
Tool Tip
Remove
Mnemonic
R, M, V
File Name
.../general/Remove16.gif
.../general/Remove24.gif
Other Notes
See also Delete and Cut.
Graphics
Description
Inserts an object or data previously placed in a temporary holding area
Name
Paste
Tool Tip
Paste
Shortcut
Ctrl-V
Mnemonic
P, S, T
File Name
.../general/Paste16.gif
.../general/Paste24.gif
Other Notes
The object or data is usually placed in the temporary holding area by the Cut or Copy command. Compare to Copy and Cut.
Graphics
Description
Enables users to modify the selected object
Name
Edit
Tool Tip
Edit
Mnemonic
E, D, T
File Name
.../general/Edit16.gif
.../general/Edit24.gif
Graphics
Description
Reverses the last transaction
Name
Undo {Action}
Tool Tip
Undo {Action}
Shortcut
Ctrl-Z
Mnemonic
U, N, D
File Name
.../general/Undo16.gif
.../general/Undo24.gif
Graphics
Description
Reverses the effect of the last undone transaction
Name
Redo {Action}
Tool Tip
Redo {Action}
Shortcut
Ctrl-Y
Mnemonic
R, D
File Name
.../general/Redo16.gif.
.../general/Redo24.gif
The graphics in this section represent the importing and exporting of objects. To import involves bringing objects or data (for example, documents created in another application, text files, and graphics files) into your application. To export means to save an object or data in a format other than your application's native format.
This section contains graphics that represent standard and contextual help, information about an object or a task, About boxes, and tips of the day.
Graphics
Description
Displays information about an object or task
Name
Information
Tool Tip
Information
Mnemonic
I, N, F, O
File Name
.../general/Information16.gif
.../general/Information24.gif
Graphics
Description
Provides information about the application as a whole
Name
About {Application Name}
Tool Tip
About {Application Name}
Mnemonic
A, B, T
File Name
.../general/About16.gif
.../general/About24.gif
Other Notes
For more information on About boxes, see Designing About Boxes.
| Java Look and Feel Design Guidelines, second edition.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved. |