ilyaslamasse
May 4th, 2002, 10:02 AM
Hey everybody. I was told another awy to produce random colors, without the painful r<<16 etc. :
colorful = new Color(this) ;
hexa = Math.round(Math.random()*0xffffff);
colorful.setRGB(hexa) ;Nice !
pom 0]
colorful = new Color(this) ;
hexa = Math.round(Math.random()*0xffffff);
colorful.setRGB(hexa) ;Nice !
pom 0]