change color of label java swing 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);