jinternalframe in a jframe
<p>closing a <code>jframe</code> and simultaneously opening another <code>jframe</code>(1) with a button is easy
we can do this by <code>close(), dispose,this.setvisibe(false)</code></p>

<p>my query is :-
i have made a <code>jinternalframe</code> in a <code>jframe</code> which i implemented using jdesktopPane
i have a button LOGIN in the <code>jinternalframe</code> which closes the <code>jinternalframe</code> only(and not the <code>jframe</code> in which the internal frame resides) and opens another <code>jframe</code>(1).
i want a code which will close <code>jframe</code>(which has the internalframe) on clicking the button LOGIN in <code>jinternalframe</code></p>
