title: How to reduce space between JCheckboxes in GridLayout
body: <p>I have three Java <code>JCheckboxes</code> in a column, arranged by setting the layout of the container <code>JPanel</code> to <code>GridLayout(3, 1, 1, 1)</code>.  When I run the program, there is too much vertical space between the JCheckBoxes; it looks like more than 1 pixel.  Since I've already set the vertical space between the JCheckboxes in the layout to be 1 pixel, how else can I reduce the vertical space between these JCheckboxes?</p>
  
  <p>Thanks.</p>