title: How can handle JInternalFrame Close opeartion from JDesktopPane?
body: <p>I have one <code>JFrame(HMSDoctor)</code> and in that i am calling one <code>JInternalFrame(CurrentOPD)</code> by using <code>JDesktopPane</code>.</p>
  
  <pre><code>//opening JInternalFrame(CurrentOPD) by using JDesktopPane in JFrame(HMSDoctor).
  
         JDesktopPane jdp=new JDesktopPane();
     jdp.add(new CurrentOPD);
  
  //Above code display proper JInternalFrame.
  </code></pre>
  
  <p>When i close that JInternalFrame at that time i want to execute one other JInternalFrame(Follow) in <code>JFrame(HMSDoctor)</code>. </p>
  
  <p>How can i do like that?</p>