Results 1 to 3 of 3
- 07-30-2012, 03:29 AM #1
Member
- Join Date
- Jun 2012
- Posts
- 22
- Rep Power
- 0
How to Manage different JPanel in an application
Hi everyone!
What I want to know is how to manage different JPanel in an application, instead of having various JFrame, I want to create various JPanel to represent every view of the Application. I need a login, but the login is preferable to be a JFrame, so I can disposed when the user logged in. I want to show a proper JPanel when the user execute an action. If there's a design pattern what could help me, please tell me which one is or give the idea of how I can do this.
Thanks you in advance.
- 07-30-2012, 04:05 AM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,606
- Rep Power
- 5
Re: How to Manage different JPanel in an application
I might not understand what your intentions are, but you might look into CardLayout or JTabbedPane.I want to show a proper JPanel when the user execute an action
- 07-30-2012, 04:20 AM #3
Member
- Join Date
- Jun 2012
- Posts
- 22
- Rep Power
- 0
Re: How to Manage different JPanel in an application
Hi doWhile,
What I mean is, my application will have many views, for example: search view, report view, configuration view, etc. So i don't want to create various JFrame for every view, I want to use JPanels. When I said "I want to show a proper JPanel when the user execute an action" I meant that if the user execute the "Search" view, it appears the JPanel view, the same por report and configuartion. I'm sorry if I cannot explain myself very well, that because english is my seconds language, I hope you can understand and if you don't, I'll do my best to explain you better.
Anyhow, I'll take a look cat CardLayout or JTabbedPane, thanks.
Similar Threads
-
Best way to manage images?
By sgthale in forum New To JavaReplies: 3Last Post: 09-30-2011, 02:11 AM -
Program to manage books
By datreta in forum New To JavaReplies: 6Last Post: 12-16-2010, 09:30 AM -
Web application to manage music
By Thomasheen in forum New To JavaReplies: 2Last Post: 09-01-2009, 12:20 AM -
JMX to to manage server application
By shiva in forum Advanced JavaReplies: 0Last Post: 03-26-2009, 07:47 AM -
can't manage to get this
By mollentze in forum New To JavaReplies: 3Last Post: 01-11-2008, 11:03 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks