beautypg.com

Total screen size, Display area – Sun Microsystems Computer Accessories User Manual

Page 22

background image

8

Wireless Toolkit Basic Customization Guide • December 2003

Total Screen Size

Referring to the left image in

FIGURE 1

, you specify the total screen size by two

lines of the form:

screen.width =

screen.height =

Enter the following measured values for the total screen size in

NewPhone.properties

:

screen.width = 96

screen.height = 128

Display Area

Referring to the right image in

FIGURE 1 on page 9

, the display area (or paintable

region) is that part of the screen that is available to applications. The remainder of
the screen is for icons and soft button labels.

The coordinates of the display area are relative to the screen location.

You can specify the display area used by the application to be a subregion of the
screen by four lines of the form:

screenPaintableRegion.x =

screenPaintableRegion.y =

screenPaintableRegion.width =

screenPaintableRegion.height =

Enter the following measured values for the screen display area in

NewPhone.properties

.

screenPaintableRegion.x = 0

screenPaintableRegion.y = 10

screenPaintableRegion.width = 96

screenPaintableRegion.height = 100