JavaFX ComboBox not responding on Windows 10

后端 未结 5 2032
不思量自难忘°
不思量自难忘° 2020-12-23 14:38

I recently upgraded to Windows 10 and JavaFX code which worked in Windows 8.1 appears to freeze up in 10. I\'ve tracked the issue down to opening a ComboBox within a dialog.

5条回答
  •  情话喂你
    2020-12-23 15:15

    Upgrading to JDK 8u72 or newer should fix the issue.

    This was a known issue in JDK 8u40 affecting certain Windows 10 touchscreen computers. Clicking an out of focus ComboBox would cause programs to become unresponsive. The issue was resolved on September 17, 2015, meaning it shouldn't happen on any version after JDK 8u72.

    If upgrading your JDK isn't an option, there are two known workarounds.

    1. Run your app with accessibility disabled by adding System.setProperty("glass.accessible.force", "false");
    2. Run the Windows Narrator screen reader (with accessibility left enabled).

提交回复
热议问题