closing a jframe and simultaneously opening another jframe with a button is easy
we can do this by close(), dispose,this.setvisibe(false)

my query is :-
i have made a jinternalframe in a jframe...