View RSS Feed

Recent Blogs Posts

  1. How to Write a Mouse Listener

    by , 04-26-2012 at 09:38 PM
    To do interaction with a component, mouse is used by the user and this is notified by the mouse events. Usually mouse events take place when cursor gets entered or exit from onscreen area of the component and when button of mouse is pressed or released.

    To track down the motion of cursor usually involve more system;s overheads as compared to tracking of the other events. This is the reason why mouse motion events have been placed separately in Mouse motion, listener type.