title: Why when i open a new JFrame my components changes format?
body: <p>When i start the Jframe &quot;VentanaPrincipal&quot; this one looks like this:</p>
  <p><a href="https://i.stack.imgur.com/0ESSw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ESSw.png" alt="https://i.stack.imgur.com/0ESSw.png" /></a></p>
  <p>but when I open the Jframe from another Jframe, it changes the format of the components:</p>
  <p><a href="https://i.stack.imgur.com/uFZVU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uFZVU.png" alt="https://i.stack.imgur.com/uFZVU.png" /></a></p>
  <p>My code is:</p>
  <pre><code> VentanaPrincipal vp = new VentanaPrincipal();
   vp.setVisible(true);
  </code></pre>
  <p>Can you please help me?</p>