File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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.
subject: How to handle many events ?
Event logging framework
Creating url links inside a Swing applet?
What is the best way to handle many events ?
handling events of rendered JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014