UI Components for Java ME

The true power of Java ME Low Level UI API.


Screen is the base class of the components hierarchy in this project. It defines a fully visible area in the mobile device's display. Besides that, it also specifies all the base properties and behaviours expected from a screen component. In other words, all new screen components start extending this class.


  • Customized commands
  • Double screen buffer
  • Background color or image
  • Clock on the command bar

Main Methods

  • public void setTitle(String title)
  • public void addCommand(Command cmd)
  • public void setBackgroundImage(Image img)

Code Snippet

public class MyScreen extends Screen {
protected void drawBody(Graphics g, int x, int y, int w,
 int h) {
 "My Canvas screen",x,y,Graphics.LEFT|Graphics.TOP);