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
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 (
). 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 ?
Creating url links inside a Swing applet?
What is the best way to handle many events ?
Event logging framework
handling events of rendered JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014