swing jlabel set text color code example
Example: set color of text for jlabel
JLabel title = new JLabel("Want a Raise?", JLabel.CENTER);
title.setForeground(Color.white);
JLabel title = new JLabel("Want a Raise?", JLabel.CENTER);
title.setForeground(Color.white);