title: Java mouse pressed - without events
body: <p>is there a way, in Java, to directly check whether one of the mouse buttons is down without using events, listeners etc. ? I'd like to have a thread that, every 100 milliseconds or so, checks whether a mouse button is down and then does something. So if the user holds a mouse button down for a while it will trigger several responses.</p>
  
  <p>So what I'm looking for is a method that gives the state of the mouse, without going through the usual event - handling system.</p>
  
  <p>thanks</p>