title: FlowLayout in Swing
body: <p>This is my layout.</p>
  
  <p><img src="https://i.stack.imgur.com/T7xpJ.png" alt="enter image description here"></p>
  
  <p><strong>The two radio button should be below the welcome label.</strong></p>
  
  <p>like this:</p>
  
  <pre><code>__________________________
  |                        | 
  |        WELCOME         |
  |         *  *           |
  |                        |
  |                        |
  |                        |
  |________________________|
  </code></pre>
  
  <p>the two asterisk are the radio buttons.</p>
  
  <p>My Code:</p>
  
  <pre><code>northpanel.setLayout(new FlowLayout(FlowLayout.CENTER));
  northpanel1.setLayout(new FlowLayout(FlowLayout.CENTER));
  
  
  northpanel.add(welcome);  //this welcome text label
  
  northpanel1.add(r1);   //this radio 1
  northpanel1.add(r2);   //this radio 2
  
  
  add(northpanel,BorderLayout.NORTH);
  add(northpanel1,BorderLayout.NORTH);
  </code></pre>