UI Components for Java ME

The true power of Java ME Low Level UI API 

Image Viewer

Image Viewer is a screen used to display an given image. This component provides horizontal and vertical scroll bars whether the image does fit in the screen area. Besides that, it can resize the image so that i fits completely in the screen. Avoiding the usage of scroll bar.


  • Horizontal and Vertical scroll bars
  • Fit or stretch image

Main Methods

  • public void setImage(Image img)
  • public void full()
  • public void fit()
  • public void stretch()

Code Snippet

ImageViewer iv =
 new ImageViewer("Viewer", Image.createImage("map.jpg"));