Answers for "how to change label text color in awt"

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 "how to change label text color in awt"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language