Assuming you're talking about Java, the difference is directly in the documentation for MouseEvent:
Mouse events
* a mouse button is pressed * a mouse button is released * a mouse button is clicked (pressed and released) * the mouse cursor enters the unobscured part of component geometry * the mouse cursor exits the unobscured part of component geometry
If you are talking about JavaScript, I'm going to assume that this is the difference between the old style and the new event handling style. But I always used onClick, so I can not give a final answer.
kdgregory Nov 12 '09 at 13:05 2009-11-12 13:05
source share