Prev Up Next
Go backward to The mouseDown Method
Go up to Methods for Handling Events
Go forward to The mouseMove Method

The mouseUp Method


void mouseUp( ) { ... }

void mouseUp( int x, int y) { ... }

The "mouseUp" method is invoked automatically each time the user releases the mouse's button after first depressing the button while the mouse was located within the region of the screen controlled by the applet. If the version of "mouseUp" declared in a particular applet expects two integer parameters, then the browser will pass as parameters the x and y coordinates of the mouse's screen position at the time the button was released.


Prev Up Next