tabbed Pane .
1>one menubar at top with menuitems .
2>below that is a tabbedpane .that displays different panels as clicked on different menuitems in menubar in 1. ok .
3> some menuitems in menubar opens up 2 panels on tabbedpane and some 1 or 3 panels on tabbedpane at a time .
PROBLEM is i want to remove or dispose all the previously opened up panels in tabbedPane wenever i choose any other menuitem one after another..
Just replace the whole content pane of the frame by setting a new opaque JComponent.
okies .. thanks..
but if i remove the contentPne completely .. will it remove the menuBar also .. well i dont want that ... lets see .. m trying tht out ..:)