Results 1 to 4 of 4
Thread: Switching between GUI's
- 05-21-2011, 08:33 PM #1
Member
- Join Date
- May 2011
- Posts
- 2
- Rep Power
- 0
Switching between GUI's
Heyo I have a simple problem that i'm not sure how to implement.
So I have a basic menu GUI with three radio buttons and then a regular JButton. What it's supposed to do is the user clicks on which option they want and when they click the button it will take them to another GUI while closing the original menu so they can do what they want. Problem is I'm not sure exactly how to go about doing this. I have the GUI call and can bring up the option easy enough but I can't close the original menu. If you'd like to see what I have so far I can post it for you. Thanks in advance. :D
-
It sounds as if you want to change views on a single GUI application such as swapping the JPanel that hold the menu buttons for another JPanel that holds the main GUI. If so, check out CardLayout which can help make this easier. If you think this could work for you, please have a look at the tutorial: How to use CardLayout
- 05-21-2011, 08:44 PM #3
Member
- Join Date
- May 2011
- Posts
- 2
- Rep Power
- 0
Oh my goodness that I think will do it! Thank you!
-
Similar Threads
-
Help with my Program...GUI'S
By university123 in forum New To JavaReplies: 1Last Post: 10-18-2010, 01:41 AM -
GUI's
By lopder1 in forum New To JavaReplies: 2Last Post: 11-12-2009, 01:33 AM -
GUI's
By ngc0202 in forum New To JavaReplies: 7Last Post: 07-26-2009, 03:38 AM -
GUI's
By diggitydoggz in forum New To JavaReplies: 2Last Post: 12-22-2008, 09:19 PM -
Creating GUI's for simulators.
By Modifier in forum New To JavaReplies: 3Last Post: 11-20-2008, 12:35 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks