Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Torch™

Trusted Contributor
Posts: 144
Registered: ‎05-04-2011
My Device: blackberry mobiles
My Carrier: app development

Background colour for setstatus

Hello friends,

               is it possible to set a background colour for setstatus method.....



Posts: 49
Registered: ‎05-02-2012
My Device: Bold 9790
My Carrier: Wind Mobile

Re: Background colour for setstatus

[ Edited ]

You can override the paint method in your field or manager like this:


VerticalFieldManager vfm = new VerticalFieldManager() {

   public void paint(Graphics graphics) {

      graphics.setBackgroundColor(0x00FF0000); //Red