I have a designed a control-frame on 1 class which has jbutton
components, I have coded like on action event of these components diff-diff frame get initialized.
For each frame there is a class. now when I press second jbutton
from control-frame then have to close the frame
(which has opened when I pressed first jbutton
from control-frame).