title: SetLocation(int , int) is not working
body: <p>Why <code>setLocation(int, int)</code> is not able to set the position of the button. I have the class <code>ABC</code> which add two <code>JButton</code> to the <code>JPanel</code> and then add this panel to the <code>JFrame</code> but while setting the position of the JButton the buttons are adding side by side but not at the desired location. I think it is happening because of <code>Flowloyout</code>.</p>
  
  <pre><code>ABC(){
      jframe = new JFrame();
      jframe.setSize(600, 600);
      jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      jframe.setVisible(true);
      start = true;
      jbutton1 = new JButton("Button1");
      jbutton2 = new JButton("Button2");
  
  
      jbutton1.setLocation(200, 500);
      jbutton2.setLocation(300, 550);
  
      // first window of the application
      JPanel jp = new JPanel();
      jp.add(jbutton1);
      jp.add(jbutton2);
  
      jframe.add(jp);
      }
  </code></pre>