-
Java GUI help
I'm looking to create a java app with a gui. I would like to have several "pages" that will fill in a central area and easily swap them out for another.
I was trying to use a single JFrame as the main window, and then have several panels that would encompass the entire JFrame and have separate functions and all. I would want the Main Jframe to retain its size and position on screen when switching from one panel to another as well. Any one able to offer help on this?
-
Ok, I think I may have figured out how to do what I want to do. I replaced the content pane with another pane. Is this how I should do this? Thanks for the Input!
-
Hi, I recently made a program the way you mentioned. I have my buttons on the left and my jpanel on the right, I then had serveral jpanels and all I did was to hide all other jpanels except for the one I wanted to see.
You said you wanted to make a GUI app, have a look at some of the sampled at www.java.codeyourself.com, not many examples yet, but a few GUI examples are available. Hopefully with more support we should get more in but we rely on users to submit small programs/examples. If you have any small working examples plz do submit them as your work could help other people. All links are in my signature.
Similar Threads
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Mike Tsakiris in forum .NET
Replies: 11
Last Post: 10-04-2002, 05:32 PM
-
By Joe \Nuke Me Xemu\ Foster in forum Architecture and Design
Replies: 0
Last Post: 03-16-2001, 10:02 PM
-
By JJ in forum Enterprise
Replies: 1
Last Post: 07-06-2000, 04:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks