[4664] in java-interest

home help back first fref pref prev next nref lref last post

Handling events within components

daemon@ATHENA.MIT.EDU (Mike Afergan)
Wed Jan 10 13:43:23 1996

Date: Wed, 10 Jan 96 12:02:02 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

home help back first fref pref prev next nref lref last post