int i;
Color c;
for (i = 0; i < iNumSpokes; i++)
{
c = new Color
(
(int) (255 * Math.random ()),
(int) (255 * Math.random ()),
(int) (255 * Math.random ())
);
g.setColor (c);
g.drawLine
(
(int) (xWindow * Math.random ()),
(int) (yWindow * Math.random ()),
(int) (xWindow * Math.random ()),
(int) (yWindow * Math.random ())
);
}