   tabbed panes in Java
  Writing a Java applet....When the user selects a particular JButton, which is a child of a tabbed pane, I want all the other children on the same tabbed pane to be "erased" and I want to call another tabbed pane to the screen. (Both panes are a part of the same tab set).All this code will obviously be inside the JButton's action listener. I'm just not sure where to start....Also how do I command an applet to exit/close? It must be some sort of an event that gets sent to some listener and calls some method....but what event, what listener, and what method?   
  Do you mean that you want the Tab to go away, and switch to a different tab, or do you want the same tab to have different controls?   