setBackground(Colour)

Ja sicher geht das
z.b. mit
Code:
Color c = new Color(255, 255, 240);
this.setBackground(c);

bzw
Code:
Color c ;
val = Math.round(Math.random()*0xFFFFFF));
c.setRGB(val);
this.setBackground(c);
so hast du dann nen zufallswert :D
 
Zuletzt bearbeitet:
Zurück