processMouseEvent()  
Author Message
Frances





PostPosted: 2005-8-26 3:40:00 Top

java-programmer, processMouseEvent()
MouseDown() and MouseUp() are deprecated; both have been replaced by
processMouseEvent()... how can this be? (two diff. methods replaced by
same method..)

http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Component.html#mouseDown(java.awt.Event,%20int,%20int)

thank you..

Frances
 
Thomas Hawtin





PostPosted: 2005-8-26 4:29:00 Top

java-programmer >> processMouseEvent() Frances wrote:
>
> MouseDown() and MouseUp() are deprecated; both have been replaced by
> processMouseEvent()... how can this be? (two diff. methods replaced by
> same method..)
>
> http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Component.html#mouseDown(java.awt.Event,%20int,%20int)

http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/MouseEvent.html#MOUSE_PRESSED
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/MouseEvent.html#MOUSE_RELEASED

Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/