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 ?