• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing textbox background color in java ME

 
Prasi Ram
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to change a text box's background color when cursor moves to it in java ME. Kindly someone help me on this since i am new to java me
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi and welcome to the Ranch!

Short answer: you can't.

Long answer: You can't. If you need to be able to change the background, you'll have to use a Canvas or CustomItem. Or take a look at LWUIT (I haven't) there may be something useful there.
 
Prasi Ram
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Darryl,

Thanks, Let me try with Canvas.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic