title: Container alingments in jframe
body: <p>I want to align components in flowlayout.is it possible?
  Here is my code:</p>
  
  <pre><code>JPanel ppanel = new JPanel(new FlowLayout());
      ppanel.add(text);
      ppanel.add(btnLogin);
      ppanel.add(btnRegister);
  
      text.setAlignmentX(LEFT_ALIGNMENT);
      btnLogin.setAlignmentX(RIGHT_ALIGNMENT);
      btnRegister.setAlignmentX(RIGHT_ALIGNMENT);
  </code></pre>
  
  <p><img src="https://i.imgur.com/ZIcYyHi.png" alt="picture"></p>
  
  <p>i want to move Label "Welcome" to far left and 2 buttons for far right
  Any suggestions?</p>