Change the size of a Swing checkbox

713 Views Asked by At

I am trying to make the checkbox bigger. It looks smaller according to the text. How can I do that?

enter image description here

My code looks like this:

JCheckBox checkBox = new JCheckBox(new VisibleAction(name,renderer,i));
checkBox.setSelected(true);
renderer.setSeriesVisible(i, true);
checkBox.setFont(controlPanelFont); 
0

There are 0 best solutions below