I currently had a problem similar to the previous question:
Why does our Java application not display windows on the secondary monitor?
The answer should include:
- Dsun.java2d.d3d = false
- Dsun.java2d.noddraw = true
So, I created a shortcut to launch the application as such:
C:\WINDOWS\system32\javaw.exe -Dsun.java2d.d3d=false -Dsun.java2d.noddraw=true -jar <file name>
Is there a way to get this application to use this in code and not use parameters?
source share