Applets are employed to provide interactive features online that cannot be furnished by HTML alone. They can capture mouse/keyboard input and so on user s action. An Event Listener, once set for an applet object waits for many action to be exercised on it, whether it is mouse click, mouse hover, pressing of keys, click of button, etc. You ll see a mouse pressevent, accompanied by a mouse exit event, followed by a mouse release event.
http://programmingunit.com/2013/11/30/java-program-capture-mouse-actions-applets/
No comments:
Post a Comment