Hi,
I created a canvas like this:
Canvas comp = DisplaySystem.getDisplaySystem("lwjgl").createCanvas(width,
height);
If I set the background color of the canvas
comp.setBackground(new java.awt.Color(255,255,255));
directly after the canvas creation, I get a NullPointerException. So, I have to give comp to the SimpleCanvasImpl extended class and call comp.setBackground from the simpleSetup() method. Would be nice, if the canvas could be initialized with a specified background color within the parent class.
Best,
Andreas