I am trying to make a gui in which I import and combine 4 seperate classes JPanel classes that I made 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?