Answers for "Jframe set label custom color"

3

set color of text for jlabel

JLabel title = new JLabel("Want a Raise?", JLabel.CENTER);
title.setForeground(Color.white);
Posted by: Guest on May-16-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language