SyntaxFix
Write A Post
Hire A Developer
Questions
JLabel label = new JLabel ("Text Color: Red"); label.setForeground (Color.red);
this should work