Answers for "how to change de size of textLabel java"

3

how to change font size in JLabel

label = new JLabel("A label");
label.setFont(new Font("Serif", Font.PLAIN, 14));
Posted by: Guest on October-23-2020

Code answers related to "how to change de size of textLabel java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language