OpenGL with Java2D.

Hello!

I know that the following line enables OpenGL to Java2D.

-Dsun.java2d.opengl=True

I have used the line with Netbeans and it really boosts my games performance, so,
my knowledge about Java is not strong enough to enable the OpenGL with Applet tag.

How i can add “-Dsun.java2d.opengl=True” to to enable OpenGL with my published Applet ??


<APPLET archive="BIMG_TEST2.jar" code="bimg_test.Main.class" width=1400 height=750>
<param name="-Dsun.java2d.opengl" value="True">
</APPLET>

code above wont enable opengl, what i do wrong ??

//----

Thanks,

Hei!

This seemed to solve my problem, at start, i did not know the right google search words.


<html>
<body>

<APPLET archive="BIMG_TEST2.jar" code="bimg_test.Main" width="1400" height="750">
    <PARAM name="java_arguments" value="-Xmx128m -Dsun.java2d.noddraw=True -Dsun.java2d.opengl=True">
</APPLET>

</body>
</html>

//----

Thanks,