title: How to remove vertical gap between two cells in MigLayout?
body: <p>Very simple question: How can I remove the vertical gap between the two cells containing the two <code>JCheckBox</code>? I have marked the gap in the picture with a red border.</p>
  
  <p><img src="https://i.stack.imgur.com/QWRyt.png" alt="gap"></p>
  
  <p>And here is the code:</p>
  
  <pre><code>import javax.swing.JButton;
  import javax.swing.JCheckBox;
  import javax.swing.JFrame;
  import javax.swing.JPanel;
  
  import net.miginfocom.swing.MigLayout;
  
  public class Main {
      public static void main(String[] args) {
          JPanel somePanel = new JPanel();
          somePanel.setLayout(new MigLayout("insets 0, debug", "", ""));
          somePanel.add(new JCheckBox("first option"), "h 20!");
          somePanel.add(new JButton("click me"), "spany 2, h 40!, w 60%, wrap");
          somePanel.add(new JCheckBox("option two"), "h 20!");
  
          JFrame frame = new JFrame();
          frame.setContentPane(somePanel);
          frame.pack();
          frame.setVisible(true);
      }
  }
  </code></pre>