Event passing in (Swing) GUI Application
- From: "Wardie" <christopher.bruce.ward@xxxxxxxxx>
- Date: 31 Jan 2006 06:51:27 -0800
Hi,
I'm build a GUI app using Swing. I want to have it be as modular as
possible for all the usual reasons including reuse of common
components.
Some of my componets are GUI panels, some are non-GUI classes.
I'm a little confused as to the best way to communicate between
components though. When I use a Swing Jxxx widget I can register
EventListeners and FocusListeners etc. What sort of event mechanism
should I be using to talk between my higher level application
components?
I've gone with use PropertyChangeEvents for now should I be used custom
events though?
Or is this all down to my own design. I guess I'm asking for "What, if
any, is the usual event mechanism between GUI/non-GUI objects?"
Anyone got any good resources online?
.
- Follow-Ups:
- Re: Event passing in (Swing) GUI Application
- From: Monique Y. Mudama
- Re: Event passing in (Swing) GUI Application
- Prev by Date: Re: Beginner CSV error
- Next by Date: Re: packaging problems
- Previous by thread: Encryption/Decryption Streams Cause UTFDataFormatException
- Next by thread: Re: Event passing in (Swing) GUI Application
- Index(es):
Relevant Pages
|