aspose file tools*
The moose likes Java Micro Edition and the fly likes Changing textbox background color in java ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Changing textbox background color in java ME" Watch "Changing textbox background color in java ME" New topic
Author

Changing textbox background color in java ME

Prasi Ram
Greenhorn

Joined: Oct 12, 2010
Posts: 12
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

Joined: May 03, 2008
Posts: 4658
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
Prasi Ram
Greenhorn

Joined: Oct 12, 2010
Posts: 12
Hello Darryl,

Thanks, Let me try with Canvas.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing textbox background color in java ME