title: Old JFrame activity while new frame is active
body: <p>How can I deactivate a <code>JFrame</code> (up to while new frame is active) under a new frame just like <code>JOptionPane.showMessageDialog(null,"Abc");</code> in <code>Java</code>?</p>