Setting a Random Color
int r = (int) (Math.random() * 255);
int g = (int) (Math.random() * 255);
int b = (int) (Math.random() * 255);
g.setColor(new Color(r,g,b));
Previous slide
Next slide
Back to first slide
View graphic version