I try to get the mouse position everywhere in the screen, but I'm getting positions only while the mouse pointer is whithin the plugin window.
I've use the globalMouseListnener...
Desktop::getInstance().addGlobalMouseListener(...);
Thanks in advance,