JDK-8156812 : Mouse cursor is very slow when running applets
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows
  • Submitted: 2016-05-12
  • Updated: 2016-08-06
  • Resolved: 2016-08-06
Related Reports
Relates :  
Description
This issue is reproducible with Java 9 b117.

1) Run http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html in IE.
2) Move cursor left to right while application is loading. You should notice that mouse cursor getting very slow.
3) Click on "Interpolator" and then back to "Samples" main page.
During this operation mouse cursor getting slow. If you keep application running and switch to another application, then mouse cursor getting slow from time to time.

Also, I notice that process which runs Ensemble runs one CPU core 100% all the time.
Comments
Note that the old Ensemble2 sample on OTN will be replaced with Ensemble8. This is tracked by JDK-8160020.
06-08-2016

Since this bug only happens for applications that continuously throw exceptions, and given that applets are deprecated in 9, we do not plan to fix this bug.
06-08-2016

It looks like the problem is caused (or at least triggered) by bugs the old JavaFX Ensemble application itself. In addition to using the now-removed builders API, as tracked by JDK-8156811, the old Ensemble application is trying to refer to internal com.sun.javafx Skin classes in its CSS files. Those classes no longer exist (and wouldn't be accessible even if they did), so this is causing a continuous stream of exceptions in CSS processing. In applet mode, it seems that these exceptions are causing the slow-down of the mouse cursor, but the problem itself is independent of whether it is running as an Applet or not.
20-06-2016