Dual Monitor and Java Virutal Machine, hanging rectangle

Document ID : KB000090384
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Dual Monitor and Java Virutal Machine, hanging rectangle
Resolution:
Detailed Description and Symptoms

?When using dual monitor with a Java based GUI, sometimes a grey rectangle remains on the screen and can only be closed when closing the Java based GUI.


Investigation

?Is Dual Monitor and JVM in use?


Solution

Disable the use of Java Direct3D?:

1. Open Control Panel –> Java –> Java Tab–> Java Applet Runtime Settings–> View Button.
2. Here in version 1.6_013 line and "Java Runtime Parameters" column enter following value: -Dsun.java2d.d3d=false (Disable use of Direct3D by Java)

Click ok and after restarting the browser see if it works fine.

If it doesn't then try replacing the runtime parameter with:
1. -Dsun.java2d.ddoffscreen=false (Disable use of DirectDraw and Direct3D by Java for off screen images, such as the Swing back buffer)
2. -Dsun.java2d.noddraw=true (Completely disable use of DirectDraw and Direct3D by Java. This avoids any problems associated with use of these APIs and their respective drivers)