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 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

Comments are closed.