Posted by
Alexei A. Morozov on
Oct 17, 2012; 5:03pm
URL: https://forum.jogamp.org/sun-java2d-noddraw-true-prevent-my-applet-for-work-tp4026532.html
Dear colleagues,
I have meet a strange bug linked with the -Dsun.java2d.noddraw=true option that is recommended for use in manuals. My demo applet use the following jar files:
gluegen-rt.jar
gluegen-rt-natives-windows-i586.jar
jogl-all.jar
jogl-all-natives-windows-i586.jar
j3d-core.jar
j3d-core-utils.jar
vecmath.jar
morozov.jar - My own JAR
main.jar - My own JAR
The HTML file is the following (this version does work):
<HTML>
<HEAD>
<TITLE>Test_Canvas3D_11_Java (PickCanvas)</TITLE>
</HEAD>
<BODY>
<applet code = "target.Main" archive = "main.jar" width = "75%" height = "75%">
<PARAM name="java_arguments" value="-Dsun.java2d.noddraw=false">
</applet>
</BODY>
</HTML>
See figure:

This version of the HTML file does NOT work:
<HTML>
<HEAD>
<TITLE>Test_Canvas3D_11_Java (PickCanvas)</TITLE>
</HEAD>
<BODY>
<applet code = "target.Main" archive = "main.jar" width = "75%" height = "75%">
<PARAM name="java_arguments" value="-Dsun.java2d.noddraw=true">
</applet>
</BODY>
</HTML>
See figure:

I cannot understand what could be the reason for this strange behavior.
I have understood only that this issue is computer-dependent. I have reproduced it on two computers with the following configuration:
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Microsoft Windows XP Pro 2002, SP3
Q9450 @2.5Gh, NVIDIA GeForce 8800 GS
I have found some old posts in the Web considering problems with use of sun.java2d.noddraw=true, but it seems the problem was not explained and fixed still.
Have anybody an idea what is the problem, or even what should I check first of all to determine it please?
Thank you,
Alexei