title: Java Swing - JLabel Location
body: <p>I have problem while setting the Jlabel location.
  <br/>
  I set the content pane to some JPanel, I created and tried to add my JLabel.<br/></p>
  
  <pre><code>    JLabel mainTitle = new JLabel("SomeApp");
      mainTitle.setFont(new Font("Arial",2 , 28));
      mainTitle.setBounds(0,0, 115, 130);
      getContentPane().add(mainTitle);
  </code></pre>
  
  <p>I want that my JPanel will be on the top left corner on my application and what I am getting is "SomeApp" on the top center.(and not top left).</p>
  
  <p>btw I tried to add JButton the and the I can`t change the width,height,x,y of the JButton.</p>