Mouse and Keyboard Events

  • John Cowell
Part of the Essential Series book series (ES)


When you click on the mouse or move it or press a key, a series of events occur. Java has defined some classes which allow you to detect that an event has occurred and to take some action in response to it. You can choose which events you want to listen for and which you want to ignore.


Mouse Button Mouse Cursor Printable Character Public Class Mouse Position 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London 1999

Authors and Affiliations

  • John Cowell
    • 1
  1. 1.Department of Computer and Information SciencesDe Montfort UniversityMilton KeynesUK

Personalised recommendations