Q:

how to change font size in JLabel

label = new JLabel("A label");
label.setFont(new Font("Serif", Font.PLAIN, 14));
1

Tags

Related

New to Communities?

Join the community