When I am debugging JavaFX project and debugging process stops on a breakpoint i can't use a mouse. I can move the cursor on the screen, but left, right buttons and wheel don't work. More than, the mouse doesn't work system-wild: if I switch an active window the mouse won't work in this window too. Keyboard works well.
→ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
A solution is listed here: https://netbeans.org/bugzilla/show_bug.cgi?id=253594
To use this in IntelliJ - Go to Run -> Edit Configurations, and add:
to VM Options.
Edit: Heads up - this messes with Drag/Drop events, possibly causing them to not work or work unexpectedly. If you are implementing drag/drop this solution is problematic.