How do I create a pane that toggles?

Hi,
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?

Thanks
Jamie
jamie_lynnAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sciuriwareCommented:
CardLayout!

;JOOP!
0
 
sciuriwareCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.