From: Nick Humphries <[EMAIL PROTECTED]>
> Well, there isn't any documentation in MSDN for Java event handling
functions
> like mouseDown(), mouseMove(), etc, etc. Highly annoying. (Yes, I know
they've
> been "deprecated", whatever that means, but if they've been replaced, I
would
> like to know with what...)

Ah... the changes are documented - but remember, it's *Sun* you're dealing
with here, not Microsoft - Microsoft didn't make these changes, Sun did.

The AWT event model was changed from the one mentioned above, to an "event
listener" model for Java 1.1 (the old one still works and probably will
forever more).

Basically, you use an EventListener object (sometimes built using an
anonymous inner class - UGH!) and bind that object to the event. Do a search
for "EventListener" on Sun's site, and on MSDN for more information.

Simon

Reply via email to