i'm trying to create a random color generator
807603Oct 22 2007 — edited Oct 22 2007// create random color generator
String[]colors = {"RED", "ORANGE", "YELLOW", "GREEN", "BLUE", "INDIGO", "PURPLE"};
// create variable to store random color
int mycolorint = (int)(Math.random()*7);
String mycolor = colors[mycolorint];
// label axis
StdDraw.setPenColor(StdDraw.(mycolor));
what is wrong with this code?