Yes, it is possible. It is actually pretty easy. Before you get into it though, I'd recommend that if you have different sized panels, you do not use cardlayout, as I tried this, and it is very difficult to resize them.
http://java.sun.com/docs/books/tutor...yout/card.html
Use this link to learn how to do it. You'll need to use the show() method that you see there to switch panels based on what is in the combobox. The code to do that will be in the combobox's actionPerformed method. Ask me if you have any other questions after you read the tutorial. It is a fairly simple tutorial.
Reputation Points: 874
Solved Threads: 352
Posting Maven
Offline 2,758 posts
since Sep 2008