I recently posted on how to programatically set the background color using Java within a BlackBerry app.
This technique works fine if you are using Field Managers to add components on to the screen.
If however, your user interface is drawn within the paint(Graphics g) mehod, this technique does not work. In this case, you need to override the paintBackground(Graphics g) method to set the background color.
protected void paintBackground(Graphics g) {
3/27/2012 08:45:25 am

will come back before long


Leave a Reply.