title: Set location of JDialog relative to JFrame
body: <p>Is there a way to set a dialog location relative to a <code>JFrame</code>? </p>
  
  <p>I would like to center the dialog to the frame that houses my GUI, instead the dialog often appears in the center of the screen rather than within the GUI. </p>