posted 22 years ago
hi all,
I have a frame which consists of menu pane(Jmenu), action panel(buttons for popups), navigation panel(buttons) and content pane. When a user log in, he can see his own set of menu,action panel etc.. and when he logout, i use frame.dispose() to clean up the old frame. However, when he login as different user(basically a new frame with new components created), some components of the old frame still remain in the new frame.
I tried to set the oldframe to null after dispose and yet still couldn't solve my problem. I wonder why the components still remained even the frame was dispose and how can I solve this problem?
Can anybody help me on this? Thank you!
- akira -