J2EE Hosting Sun Java Developing Blog

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

Comments are closed.