This discussion is archived
1 Reply Latest reply: Feb 28, 2013 10:12 AM by 994020 RSS

how to add canvas to the background of a form in j2me

955464 Newbie
Currently Being Moderated
I am new to j2me. I am developing a mobile application in j2me. Is there a way of adding a canvas object to the background of a form? I tried searching in net with few people suggesting to use "jmepolish". I have no idea what jmepolish is..Is there a way to do this with normal j2me classes?
  • 1. Re: how to add canvas to the background of a form in j2me
    994020 Newbie
    Currently Being Moderated
    Short answer: You can't. There are two types of Displayables (javax.microedition.lcdui.Displayable): Screen items and the Canvas item.

    You have no control of the appearance of Screen items: Alert, Form, List, TextBox. The implementation(phone maker) decided the appearance of those items. You can only alter the appearance of Canvas and GameCanvas.

    If you want to change the appearance of a Form you should check out something like LWUIT or J2ME Polish.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points