title: Building a JFrame that run in the same order in Java
body: <p>I'm making a <code>JFrame</code> that contains a lot of <code>JButton</code>s and <code>JTextfield</code>s which contain data from a database. In the design everything is okay, but when I run my program the <code>JButton</code> and the <code>JTextfield</code> change their places and I don't know why.</p>
  
  <p>Here is a screen shot from the design window and the run window:</p>
  
  <p><img src="https://i.stack.imgur.com/LBvjv.jpg" alt="Screenshot of design window"></p>
  
  <p><img src="https://i.stack.imgur.com/r17m3.jpg" alt="Screenshot of runtime window"></p>