0

I'm using lwuit library. i have a form with a background image. and i want to place another image on top of it at a particular angle, and at a particular position(center for instance). How can this be done. please help with code.

JaseemAmeer
  • 107
  • 2
  • 15

1 Answers1

1

Just add the image on the Label and place into the particular position on the Form. Use getStyle().setMargin(....) for place the particular position on the Form.

bharath
  • 14,283
  • 16
  • 57
  • 95
  • thanks for the help, i was able to position the image, but how can i rotate or place the image at a particular angle? – JaseemAmeer Sep 09 '11 at 07:38
  • If you want to rotate the image means use `image.rotate(degrees)`. – bharath Sep 09 '11 at 07:51
  • thanks it worked for me. Can please help on the following thread: http://stackoverflow.com/questions/7332576/j2me-running-thread-while-device-is-in-energy-saving-mode – JaseemAmeer Sep 09 '11 at 22:34