set color of text for jlabel

76

set color of text for jlabel -

JLabel title = new JLabel("Want a Raise?", JLabel.CENTER);
title.setForeground(Color.white);

Comments

Submit
0 Comments