J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

ClockItem

Use the ClockItem for showing the current time.

Design

A ClockItem
The above design has been realized with these CSS settings:

.clock {
	border-type: round-rect;
	border-color: gray;
	min-height: 15;
}

ClockItem CSS Attributes

Use following attributes to design ClockItems:

Programming

Programming the ClockItem is trivial as you can only specify a label:

//#style clock
ClockItem item = new ClockItem("time: ");
this.form.append( item );

JavaDoc

back to top