Re: GUI Questions from a newbie
From: Karsten Lentzsch (Karsten_at_JGoodies.com)
Date: 03/01/04
- Next message: AP: "Component in JEditorPane"
- Previous message: Thomas Weidenfeller: "Re: draw directed graph with nested panels"
- In reply to: x_at_a.c: "GUI Questions from a newbie"
- Next in thread: x_at_a.c: "Re: GUI Questions from a newbie"
- Reply: x_at_a.c: "Re: GUI Questions from a newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 01 Mar 2004 16:11:50 +0100
x@a.c wrote:
Another option is to use a Frame with a single CardPanel,
add cards for login, logout, login process, and content.
The CardPanel uses multiple cards (panels) that you can add
under a key, and you can switch cards by the name or index.
See http://java.sun.com/products/jfc/tsc/articles/
You can build a login model and a login processor that
describe the login state and how to operate on it.
Then let the main frame listen to the login model and
switch cards as necessary. Bind the login UI components
to the login state, for example by using bound bean
properties and the PropertyChange mechanism.
Here's a prototype application that demonstrates this
http://www.jgoodies.com/fieldeye/
Hope this helps. Best regards,
Karsten Lentzsch
JGoodies :: Java User Interface Design
- Next message: AP: "Component in JEditorPane"
- Previous message: Thomas Weidenfeller: "Re: draw directed graph with nested panels"
- In reply to: x_at_a.c: "GUI Questions from a newbie"
- Next in thread: x_at_a.c: "Re: GUI Questions from a newbie"
- Reply: x_at_a.c: "Re: GUI Questions from a newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|