Hello Everyone. I am trying to use a string to set a color.
i have tried
Color is the string which says a color like black or red
g.setColor (Color.color);
and
g.setColor (Color."color");
lets say the string color was red it should have this effect
g.setColor (Color.red);
Thanks for any help.