| Author |
Any used Swing application framework?
|
Subrata Saha
Greenhorn
Joined: Jun 10, 2005
Posts: 19
|
|
Hi ,
Any used Swing application framework ??
I have the mars rover view application from SAF to understand how it works . But struggling to find
Can we have 2 view from the single application ??
Example: Suppose i have 2 view Login and Profile . so the application will launch the Login and then on correct password
it will switch to Profile screen and Login Screen is gone {dont know whether we can hide it or destroy the view}
Any help would be greatly appreciated
--Subrata Saha
|
 |
Vivek Moyal
Ranch Hand
Joined: Nov 02, 2009
Posts: 57
|
|
If you are starting with the login screen than check the login like
suppose
Profile and Login are Jframe
i think its the solution
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8435
|
|
No need to have the overhead of multiple JFrame instances.
Either use card layout or use the add/remove methods for the content panel (dont forget to invoke revalidate and repaint though)
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Subrata Saha
Greenhorn
Joined: Jun 10, 2005
Posts: 19
|
|
You guys are talking keeping SWing application Frame work in mind right ??
We do show(Login()) from launch api of the main application file of the project. so first time we will do show Login and then is password matches as shown by
Vivek .
|
 |
Subrata Saha
Greenhorn
Joined: Jun 10, 2005
Posts: 19
|
|
Have any body worked on Swing application framework ?? which gives the MVC model for client side Java program
(u can have context variable accross the app etc,callback,lauch,background job etc....)
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
How about a modal JDialog for logging in?
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Subrata Saha wrote:Have any body worked on Swing application framework ??
Most of this sub forum is about Swing, so I would say yes.
This may be a good tutorial for you to start with.
|
 |
Subrata Saha
Greenhorn
Joined: Jun 10, 2005
Posts: 19
|
|
Rob Prime wrote:
Subrata Saha wrote:Have any body worked on Swing application framework ??
Most of this sub forum is about Swing, so I would say yes.
This may be a good tutorial for you to start with.
I am talking about Swing Application Framework (JSR 296) not the simple swing
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Ah. My bad.
|
 |
 |
|
|
subject: Any used Swing application framework?
|
|
|