Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 29th, 2009, 03:44 AM
Registered User
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CardLayout Question

Hi,

I am trying to make a gui in which I import and combine 4 separate JPanel classes that I've imported into one interface. But I am running into an obstacle that I am uncertain about.

Here is the situation:
1. I have container using a BoxLayout that has 2 panels one stacked on the other.
2. In the top panel I put the imported panel class that is needed for every transaction. This imported panel has a combobox
3. the bottom panel uses CardLayout and I want its contents (one of 3 other imported panel classes) to be governed by the status of the combobox in the top panel.

Is this possible? if so could someone explain how I would go about it?

Thanks!





Similar Threads
Thread Thread Starter Forum Replies Last Post
I have one question Dusmanta Forum and Wrox.com Feedback 1 February 3rd, 2009 08:40 AM
Question... stud123 XSLT 3 April 10th, 2006 09:44 AM
i have a question about .... saeedos BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 10th, 2005 05:28 PM
1 More question!! (me think!) Mantis MySQL 2 March 8th, 2005 08:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.