Event consuming example

Sample applet that illustrates event consuming problem. When there is a listeners of the specified event type registered on the component, the component will not dispatch the event to the parent container after its processing by listeners.

As of JDK 1.4 this problem cannot be solved by event redispatching if the component is a light-weight component!


Source code

EventConsuming.java


The applet

ALT="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is ignoring the <APPLET> tag!