I’m experiencing some problems with the getLengthOfMousePress() call of MouseEvent.
I have my mouseDrag method continuously called because of a beginDragAutoRepeat called in the mouseDown.
On the first call to mouseDrag, the return value of getLengthOfMousePress() is zero
On subsequent calls to mouseDrag (within a secondo to the first one), the return value of getLengthOfMousePress() is really huge, in the order of millions or billions, which is obviously too high to be the correct number of milliseconds elapsed.
On PC, all works well, so maybe there is some problem in the code that calculates that time on the mac?