How do I create a pane that toggles?
i.e. I have 3 panes stacked on top of each other and I want to show only one, and hide the other two.
Sort of like JTabbedPane without the tabs. The user can't switch panes, only via api.
What is the best way to do this?