Answers for "set size of jlabel"

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