how to increase the size of the text in 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));