title: Only one active new jframe
body: <p>I have two forms : <code>f_main</code> and <code>f_recruitment</code>. I put a label in <code>f_main</code> with this code :</p>
  
  <pre><code>....
  private void jLabel2MouseClicked(java.awt.event.MouseEvent evt) {                                     
      JOptionPane.showMessageDialog (null, "Recruitment Icon has been Clicked");
      new F_Recruitment().setVisible(true);
  }                                    
   // to display f_recruitment
  </code></pre>
  
  <p>Question is how can I have just one active <code>f_recruitment</code> open?</p>
  
  <p>Update:</p>
  
  <p>Thanks, what I mean is, how can I prevent user from re-click <code>jLabel2</code> and another <code>f_recruitment</code> are open..? ( I let f_main form keep visible on purpose, while the new form <code>f_recruitment</code> is open)</p>