J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

Using Forms

A Form allows you to place any items on the display and let the user interact with them.
A Form in action.

Design

You can use following CSS attributes for the Form:

Programming

Use a javax.microedition.lcdui.Form as you would normally in your application and use UiAccess for using J2ME Polish specific functionalities like:

  • setStyle( Screen screen ): Sets a style in conjuntion with a style preprocessing directive.
  • setStyle( Screen screen, Style style ): Sets a style programmatically.
  • getContentHeight( Screen screen ): Retrieves the height in pixels available for content on the specified screen.

JavaDoc

back to top