Setting the background color on a BlackBerry screen is fairly easy. Since JDE 4.6.0, the BackgroundFactory class can be used to accomplish this.
public class MyScreen extends MainScreen { 
public MyScreen() {
// Initialization…
Manager manager = getMainManager();
Background bg =
BackgroundFactory.createSolidBackground(Color.BLACK);
manager.setBackground(bg);
}
}



Leave a Reply.