0
Q:

how to set the text of a jlabel to bold

JLabel label = new JLabel("I'm bold");
Font font = new Font("Courier", Font.BOLD,12);
label.setFont(font);
0

New to Communities?

Join the community