The standard Java libraries provide a bunch of so-called "Adapter classes". You just subclass the adapter, and override only those methods you're interested in changing.
Here's an example (MouseInputAdapter):
You definitely do *not* want to monitor low-level events like keystrokes or mouse motion, if you can accomplish the same goal with a higher-level "action listener" on a UI component (e.g. "button click").