[4760] in java-interest
Handling events within components
daemon@ATHENA.MIT.EDU (Mike Afergan)
Fri Jan 12 15:53:15 1996
Date: Fri, 12 Jan 96 14:35:20 EST
To: java-interest@java.sun.com
From: Mike Afergan <mikea@abba.ai.mit.edu>
Is it possible to handle events within components?
For example, a java.awt.Scrollbar moves when I click it. Can I
somehow harness this event handling capacity to force the applet to repaint
(or update) everytime the scrollbar is moved -- Thus allowing the scrollbar to
effect itself as well as something else on the screen?
The components seem to suck up the events before they reach my event
handling methods (i.e., handleEvent() or mouseDown()). I even tried extending
the Scrollbar class and overriding some of the methods to no avail.
Thanks,
-- Mike
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com