• 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: 5162
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!