Get mouse state from Java?

    Apr 14 2013 | 9:34 pm
    From inside an mxj object, is there any way to determine whether any mouse buttons are currently pressed?
    I know that in a Max patch this data can be gathered from a [mousestate] object. I'd like to do the same sort of thing, but from within my Java code.
    Any ideas?