posted 18 years ago
JJ
Summarily:
An Event Handler is a listener (implements java.awt.event.ActionListener), you register this Event Handler with the Swing components you want to monitor in the initialize method of your Swing application. Each time swing components state change (user clicks a button...), an event is fired. the Event Handler intercepts this event, retrieves the source and execute associated action.
In a web application, user clicks a link..., the webcontroller intercepts the requested URL and execute associated action.
In the web application, there're direct interactions between the system and the customers; in the Swing client application, travel agent act on customers' behalf.
Hope this helps
Marie Pierre
[ August 21, 2005: Message edited by: Marie Pierre Courbevoie ]