Tabbed Panes and Panels in Java
I want to use Tabbed Panes in Java, in every TabbedPane (in this case 3 TabbedPanes) I wand to add a different Panel, each Panel will be represented by a different class. For example:
Is it possible to add a different Panel to each TabbedPane. For example; when I click on TabbedPane1 it shows TopChoicePanel, when I click on TabbedPane2 it shows MiddlePanel etc.
What is the best way to do this? ItemListener perhaps? Any suggestions would be appreciated, thanks in advace.