I am writing a program in Java3D. I have one JPanel set up with a paint component. This allows a user to mark an area on the paint component with various symbols. I then have a button the user can click. When this button is clicked I would like to destroy the current JPanel and open a new one that I can display java 3d objects in. Any help would be greatly appreciated.