Java 3D 1.6/1.7 HiDPI bug with OpenJDK11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Java 3D 1.6/1.7 HiDPI bug with OpenJDK11

yuanho
I am a developer of a 3D application (IDV) that is an application build on java3d (1.6.2 /1.7). l am working on moving from JDK 8 to JDK 11, I was able to build the project with JDK11 and ran it with JDK 8 with no problem. If I ran it with JDK11, all lines (used to be solid lines) became dashed line and mouse cursor not point to the correct geo location.  See the image attached (left side is normal display with JDK 8 and right side is the dashed lines problem with JDK 11)


 

I tried to set the -Dsun.java2d.uiScale.enabled=false in the JDK 11 but I can see losing some resolution of the UI character. I wonder if this is a known bug or any other solution I can explore on.

Many Thanks.