hot to refresh the view of a jpanel.
I am adding some components to a jpanel and when i try to remove them using removeAll() and then if I add some other components it is just overwriting. It is not clearing the previous view.......
Plz help me ............
