Answers for "java swing label font size"

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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language