Open MohamedRejeb opened 1 month ago
I'm not sure I understand. Do you mean that the stylus
library doesn't work with JBR, but works with OpenJDK? What about platforms other than Windows, does it work there?
Is the issue happening only on Windows? Yes.
Does the library and the stylus listener work? Yes it works fine even with JBR.
The problem is with normal swing components and normal swing mouse listener, for some reason it's so hard to click buttons with the pen. It works fine with OpenJDK. The problem happens only after linking the window to the stylus which is what this library does, Windows is dealing with the stylus differently when it's linked to the window.
It seems that the investigation should start with the library. Have you tried reporting it to their issue tracker?
Thanks for reporting this issue. Please follow the ticket https://youtrack.jetbrains.com/issue/JBR-7716 to track its status
It looks like linking windows window to stylus breaks pen events for swing. It works fine with openJDK but not JBR. Try running the swing demo here on windows with openJDK and JBR. You will notice that tablet stylus can't interact with swing components.
https://github.com/lectureStudio/stylus