java-mebackground-imagebackground-colormidlet

Set background image / color in midlet


I create one application used form class now its very simple,I want set background image or color.I searched over 2 days but no use if any know share to me...


Solution

  • Use LWUIT , create a class which derives from Form and in its constructor call setBgImage. To create the Image object parameter of the setBgImage method use the static methods of the Image class. To download LWUIT go to http://www.oracle.com/technetwork/java/javame/javamobile/download/lwuit/index.html