Ever since Java 8 got installed on my Windows 10 machine, it's been easy to completely mess up the re-draw on Java swing applications. Move the mouse over the program enough times and things go haywire.
I've noticed this in an early release of Android Studio 1.4 , a product called Freephoneline, and most noticeably, a Netbeans RCP that I wrote and sell.
It turns out that the problem is in Java 8 itself. Swing's rendering and Microsofts Direct draw do not play nice together.
To fix this problem in my Netbeans RCP product, I've added the command line parameters:
-J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true
to my installation, which seem to fix the problem. See my previous post on where to do it.
I'm told that: -Dsun.java2d.d3d=false will also work
No comments:
Post a Comment