J2EE Hosting Sun Java Developing Blog

Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly New Object Indicators Some buttons create new objects. You can use a twinkle graphic to indicate this button feature. In 16 x 16 pixel graphics, the twinkle graphic might touch the lower edge of the button border, as shown in the following illustration. Figure 54 New Object Indicator and Transparent Buffer Area To indicate the creation of a new object, provide a twinkle graphic in the lower-right corner of toolbar button graphics. The following illustration shows a twinkle graphic incorporated into a document toolbar button to indicate that clicking the button creates a new document. Figure 55 Document Toolbar Button With a New Object Indicator The following figure shows the toolbar button with the new object indicator at its actual size (16 x 16 pixels). Figure 56 New Document Toolbar Button (Actual Size)

Hint: If you are looking for very good and affordable webspace to host and run your j2ee hosting application check Virtualwebstudio j2ee web hosting services


Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Use transparent pixels around the menu indicator arrow to set it off from the rest of the button graphic. Add the standard highlight below or to the right of the badge in a button graphic. The following figure shows the volume toolbar button with the menu indicator at actual size (16 x 16 pixels). Figure 52 Volume Toolbar Button (Actual Size) The lower-right corner is the standard location for the arrow graphic (in locales with left-to-right reading order). The following illustration shows the arrows for 16 x 16 and 24 x 24 pixel graphics. Figure 53 Position and Space Around Menu Indicators

Hint: If you are looking for very good and affordable webspace to host and run your j2ee hosting application check Virtualwebstudio j2ee web hosting services


Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly an object to a collection, and the review or editing of properties and settings are typically represented by incorporating a badge into an existing button graphic. This section suggests standard ways for you to incorporate badges into the design of your toolbar button graphics. The badges in the button graphics in this chapter appear in several of the graphics discussed in Appendix B and are included in the graphics on the book’s companion CD-ROM. Menu Indicators An arrow in a button graphic indicates that a click (or a press) of the mouse button displays a menu of choices. The following illustration shows the volume toolbar button with a menu indicator. Figure 50 Menu Indicator in a Volume Toolbar Button To indicate that a click or press of the mouse button displays a menu, provide an arrow menu indicator in the lower-right corner of toolbar button graphics. Badges can extend as far as one pixel from the button border, and their highlights can touch the border. Use a 1-pixel-wide transparent area between a badge and the main button graphic to set off the badge visually. The following illustration shows the buffer area around the menu indicator. The buffer area placed around the indicator shows the background of the toolbar button, not the background of the volume graphic. For details, see Drawing the Button Graphic. Figure 51 Menu Indicator and Transparent Buffer Area
Note: If you are looking for top 10 and very good webhost to host and run your jsp application check Actions jsp hosting services

Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly 6. Add a pattern. This technique minimizes banding and dithering on displays with 256 or fewer colors (see Maximizing Color Quality). Here is an exploded view of the button graphic and its color overlay. This figure shows the effect of the pattern on the color detail of the button graphic. 7. Define the empty area around your button graphic (in which you have not drawn anything) as transparent pixels in the GIF file. This practice ensures that the background color shows through; if the theme changes, the area around the button graphic will match the rest of the background canvas in the interface. 8. Test your button graphic on target platforms. Using Badges in Button Graphics Badges are a kind of visual shorthand used extensively in toolbar button design. The presence of a menu, the creation of a new object, the addition of
Note: If you are looking for top 10 and very good webhost to host and run your jsp application check Actions jsp hosting services

Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly 1. Decide which sizes you want to use for the button or toolbar graphic and identify your primary drawing area. 2. Draw a basic outline shape, taking care to remain within the primary drawing area. 3. Add some basic color.
Note: If you are looking for good and high quality web space to host and run your java application check Vision java hosting services


Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly 4. Add the flush 3D effect by drawing highlights on the inside left and top, and on the outside bottom and right of the outline. Note that the highlights can extend beyond the primary drawing area. This is a good basic design, but because of the large area using a single color, the graphic lacks visual interest and might not reproduce well on some systems. 5. Try a gradient instead of the flat color.
Note: If you are looking for good and high quality web space to host and run your java application check Vision java hosting services

Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly The following illustration shows 16 x 16 and 24 x 24 button graphics that use the maximum recommended drawing area. On all four sides, there are 2 pixels between the dark border of the button graphic and the dark portion of the button border. Figure 49 Maximum-Size Button Graphics Drawing the Button Graphic When drawing a button graphic, first decide on a general design that represents the action or setting activated by the button. In the following examples, a clipboard represents the Paste command. When drawing a button graphic, first decide on a general design that represents the action or setting activated by the button. In the following examples, a clipboard represents the Paste command.
Note: If you are looking for good and quality webspace to host and run your java application check Actions java hosting services

Sun - Java Look and Feel Design Guidelines,

October 31st, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Working With Button Borders The size of a button graphic includes all the pixels within the border. As shown in the following illustration, horizontal and vertical dimensions are both either 16 or 24 pixels. The border abuts the button graphic (that is, there are no pixels between the border and the graphic). Figure 47 Button Graphics With Borders Determining the Primary Drawing Area Leave an apparent two pixels between the button border and the graphic. Because the white pixels in both the button border and the button graphic are less visually significant than the darker borders, the area used for most of the drawing is offset within the 16 x 16 or 24 x 24 space. Actually, 1 pixel is reserved on the left and top, and 2 pixels are reserved on the right and bottom (but highlights are allowed to extend in this area). The following illustration shows the standard drawing area for both button sizes. Figure 48 Primary Drawing Area in Buttons
Note: If you are looking for good and quality webspace to host and run your java application check Actions java hosting services

Sun - Java Look and Feel Design Guidelines,

October 30th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly Use a single style to create a “family” of button graphics with common visual elements. You might use a similar color palette, size, and style for all button groups across your GUI, such as toolbar buttons, toggle buttons, or command buttons. Review the graphics in context before finalizing them. Producing the Flush 3D Effect The flush 3D effect simulates the appearance of beveled buttons or shapes inset at the same level as the background. To achieve this effect, you need to create a shadow and a highlight for both the background and the button graphic. In smaller button graphics, you can achieve this effect by placing highlights at the correct locations along the edges of the icon. (The shadows are already provided by the darker outline of the button graphic.) In a larger 24 x 24 or 32 x 32 pixel graphic, you can use a graduated highlight within the button graphic to simulate a more smoothly rounded edge. With the flush 3D effect, the button graphic appears to have a light beveling around the edges. To produce the flush 3D effect on button graphics, add: An exterior white highlight on the outside right and bottom of the button graphic itself An interior white highlight on the inside left and top of the button graphic A dark shadow inside the exterior white highlight and outside of the interior white highlight (both shadows are already present if you created a button graphic with a dark outline in the first place) Figure 46 Flush 3D Effect in a Button Graphic

Hint: This post is supported by Gama hrvatski web hosting services

Sun - Java Look and Feel Design Guidelines,

October 30th, 2006

Sun - Java Look and Feel Design Guidelines, 2nd Edition made by dotneter@teamfly The two standard sizes for button graphics are 16 x 16 pixels and 24 x 24 pixels. You can use either size (but not both at the same time) in toolbars or tool palettes, depending on the amount of space available. For details on toolbars, see Toolbars. It might be appropriate to use toolbar buttons that display text in addition to or instead of graphics. Consider this approach if your usability studies establish that the action, state, or mode represented by the button graphic is difficult for users to comprehend. If you include both text and graphics in a button, the size of the button will exceed 16 x 16 or 24 x 24 pixels. Consider using tool tips instead, or let users choose between displaying button text or using tool tips. For details, see Tool Tips for Toolbar Buttons. Use tool tips to help clarify the meaning of toolbar buttons. When designing your button graphics, clearly show the action, state, or mode that the button initiates. Keep the drawing style symbolic; too much detail can make it more difficult for users to understand what a button does. Use a flush 3D border to indicate that a button is clickable. Draw a distinct dark border without anti-aliasing or other exterior detail (except the flush 3D highlight) around the outside of a button graphic. Do not include text as part of your button graphics (GIF files). Use button text instead. Keep the button text in a resource bundle to facilitate localization. Setting tool tips automatically sets the accessibleDescription of an object, which in turn, greatly benefits users with physical and cognitive limitations. Using Button Graphic Styles The following figure shows sample button graphics designed for toolbars and for the contents of an internal utility window. Figure 45 Button Graphics for a Toolbar and an Internal Utility Window

Hint: This post is supported by Gama hrvatski web hosting services


« Previous Entries