Sun - Java Look and Feel Design Guidelines,
October 30th, 2006Sun - 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