title: Formatting JButtons in JSplitPane
body: <p>I'm having trouble getting my <code>JButtons</code> to appear where I want. For some reason all my buttons are appearing in the middle of the Panel when I want it to appear flushed with the top of the Panel, centered. I've tried manipulating different layout positioning such as BorderLayout.NORTH and GridBagConstraints.NORTH however I do not know if I utilizing it on the right components.
  Currently my code has <code>A</code> Frame holding a JLayeredPane holding a <code>JSplitPane</code> with two JPanels in it so it has gotten quite confusing.</p>
  
  <p><a href="https://i.stack.imgur.com/nbNyy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nbNyy.png" alt="This is what my code basically looks like."></a></p>
  
  <p><a href="https://i.stack.imgur.com/3FcXs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3FcXs.png" alt="And these are how the JButtons on the bottom Panel are appearing."></a></p>
  
  <p>Do you have any suggestions on how I can get the buttons to appear on the top of the Panel? </p>