java swing set font size jlabel code example
Example: how to change font size in JLabel
label = new JLabel("A label");
label.setFont(new Font("Serif", Font.PLAIN, 14));
label = new JLabel("A label");
label.setFont(new Font("Serif", Font.PLAIN, 14));