set font size java label swing 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));