Well, if the variable "SetFontColor" were of type java.awt.Color instead of String, and you did something like
if ("Red".equals(action))
SetFontColor = Color.red;
then in your paint method you could just say
g.setColor(SetFontColor);
A
word to the wise: the convention is that
Java variable names start with a lower case. Starting them with an upper case letter makes them look like class names, and will confuse people who try to read your code -- myself included. One gets used to seeing things done a certain way!