| JSC >
Guidelines Home Page > Java Look and Feel Design Guidelines >
Part II: Fundamental Java Application Design >
5: Application Graphics >
Designing Graphics for Corporate and Product Identity
Application graphics present an excellent opportunity for you to heighten your corporate or product identity. This section presents information about splash screens, About boxes, and login splash screens.
Use the JPEG file format for any photographic elements in your splash screens and About boxes.
A splash screen is a plain window that appears briefly in the time between the launch of a program and the appearance of its main application window. Splash screens disappear when the application is ready to run. Nothing other than a blank space is included with a JFC-supplied plain window; you must provide the border and the contents of the splash screen. For instance, the black border on the window in the following figure is part of the file supplied by the splash screen designer.Figure 64 Splash Screen for MetalEdit
To get the black border that is recommended for splash screens, you must include a 1-pixel black border as part of the image you create. (You can get a black border with a border object instead of putting a black line in the image itself.)
JWindow component, not the
JFrame component, is typically used to implement the plain window that provides the basis for splash screens.
Figure 65 shows the login splash screen for the MetalMail application.
Click here to view the corresponding code for Figure 65 (also available on the book's companion CD-ROM).Figure 65 Login Splash Screen for MetalMail
Provide a way for users to exit the login splash screen without first logging in (if it is possible for users to do anything on the system without first logging in).
JDialog component, not the
JWindow component, is typically used to implement a login splash screen.
Figure 66 shows the About box for the MetalMail application.Figure 66 About Box for MetalEdit
Because the dialog box title bar might not include a Close button on all platforms, always include a Close button in your About boxes so that users can dismiss them after reading them. Follow the guidelines for button placement described in Command Buttons in Dialog Boxes.
|Java Look and Feel Design Guidelines, second edition.
Copyright 2001. Sun Microsystems, Inc. All Rights Reserved.