View Single Post
Old 01-05-2007, 02:49 AM   #1
Ananthasivan V K
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Question Java net.rim.device.api.ui.Graphics's method setBackgroundColor not working !

Please Login to Remove!

Hai Everyone

I had a problem while trying to set the background color of a custom button field using the
net.rim.device.api.ui.Graphics class's method setBackgroundColor(int RGB).The background color is not changing.

Now I'm using the fillRect(int x, int y, int width, int height) function to accomplish this, it's slow downs the performance.

I need to know how the setBackgroundColor(int RGB) could be used with properly working.Please let me know @ earliest how this could be fixed ?

Thanks In Advance.
Offline