A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Swing / AWT / SWT
How to handle many events ?
Joined: Mar 07, 2004
May 05, 2005 05:29:00
I would like to know how to handle events in forms with many controls.
For example, there is a short-cut "XXX" associated with an event and
every control should handle it.
How is the best way to handle it ? Is there any
for it ?
SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
Joined: Apr 21, 2005
May 05, 2005 07:32:00
This might be possible using Action class (javax.swing.Action). Theres a section in the Java Tutorial on it, but the last time I checked it wasn't very complete.
I agree. Here's the link:
subject: How to handle many events ?
handling events of rendered JTable
Event logging framework
Creating url links inside a Swing applet?
What is the best way to handle many events ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014