This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi (again): I am trying to set the value place in the field defined below] to yellow. Would this be the correct syntax? ( I am concerned that a literal would be put in the field.) thanks capp
I'm not a swing expert (yet), but I do believe that that would put the String literal "font color=yellow" inside your JTextField and it would be black still. Maybe try the method Wageout.setForeground (Color.yellow); I forgot what your textfield is called exactly, but you see what I mean. That should? set the text color. If I'm wrong, please someone correct me. ------------------ Michael J Bruesch Codito, ergo sum... I code, therefore I am. My Java Games, I'm quite proud
Michael J Bruesch<br /><i>I code, therefore I am.</i>