Solved

How do I create a pane that toggles?

Posted on 2008-06-24
3
250 Views
Last Modified: 2010-03-30
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
0
Comment
Question by:jamie_lynn
  • 3
3 Comments
 
LVL 24

Expert Comment

by:sciuriware
Comment Utility
CardLayout!

;JOOP!
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 500 total points
Comment Utility
0
 
LVL 24

Expert Comment

by:sciuriware
Comment Utility
:)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now