Open up a Java console and test your mouse inside.

Dedicated to Mighty Mouse.