PDA

View Full Version : Java and Dual Monitor



anil.kumar
19th November 2009, 10:14 AM
When running with dual monitors, pop-up dialogs show a blank screen on the other screen

This happens on some combination of Java and Windows video driver because ofJava's usage of the video driver for graphics acceleration. The workaround is to disable the use of Java Direct3D.
Here is the process.

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)

Also get the latest driver for your video card.

Note: This problem exists in java version 1.6_010 - 1.6_013, but it is fixed in Java 1.6_014.

walker121
24th March 2010, 01:22 PM
Hi Anil,

How do we get around this issue with java version: 1.6.0_17 ?

Cheers,
Ryan

anil.kumar
29th March 2010, 09:01 PM
Should not be a problem in 1.6_017 as it is fixed in 1.6_014. Otherwise same workaround can be applied.