title: Swing - All windows' components get messed when running the project but it works on Test/Preview on Eclipse
body: <p>as the title says, I'm creating a project using Swing, everything looks good when clicking on the "Test/Preview" option to see how the Window is actually looking like and it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/BSrg6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BSrg6.jpg" alt="Good looking"></a></p>
  
  <p>But if I run the project or export the .jar runnable, this is how it looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/EmlSn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EmlSn.jpg" alt="Bad looking"></a></p>
  
  <p>As you can see, it doesn't look at all how it's supposed to look like, the separators are missing, there's no spaces between the labels, why is this and how could I solve it? I'm kinda a novice.</p>
  
  <p>I'm using GridBagLaout if it's any relevnt</p>
  
  <p>Thanks and regards.</p>