title: How can I add a space in between two buttons in a boxLayout?
body: <p>I have four buttons in a <code>BoxLayout</code> group. This is just a sample of two because it's all repeated code. I want to create a slight space between each button so they don't run into each other. I have tried practically every method in the <code>.add(Box.Create....)</code> and nothing worked. </p>
  
  <pre><code>    enter.add(Box.createVerticalGlue());
      enter.add(Box.createHorizontalGlue()); 
      //enter.add(new JSeparator(SwingConstants.HORIZONTAL));
      JButton float = new JButton("LOWER");
      float.add(Box.createVerticalGlue());
      float.add(Box.createHorizontalGlue());
  </code></pre>