title: How to open one frame on the same monitor as another in swing?
body: <p>I have one frame, which can cause another frame to open, say, by button press. I want to make second frame to appear on the same screen (in dual monitor config) as the first one.</p>
  
  <p>How to do that?</p>
  
  <p><strong>UPDDATE</strong></p>
  
  <p>Passing <code>getGraphicsConfiguration()</code> from the parent <code>JFrame</code> does not help, although it contains correct <code>screen</code> field inside.</p>