title: How to move a JPanel
body: <p>I have a <code>JDialog</code> which contains <code>JPanel</code> and other elements like <code>JTextField</code>. I want to move <code>JDialog</code> from one location to another after it is loaded on screen. When I try to use <code>jdialog.setLocation()</code>, I am not able to move <code>JDialog</code> and also all other components added to it becomes invisible. </p>
  
  <p>Can anyone tell me what might be wrong with my approach?</p>