Login  Register

Jogl and Jboss

Posted by Worker on May 07, 2011; 1:08pm
URL: https://forum.jogamp.org/Jogl-and-Jboss-tp2911941.html

With a good understanding with Jboss,
loading Jogl Applets works good.

Here is a little example.

You must all jars/dll's, also your own, put in a web archive (war).
And your html that looks how this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>My JOGL Applet</title>
</head>
<body>

<p> My little Jogl applet </p>


<applet width=800
       height=600
       codebase="."
       code="com.myapp.MyApplet"
       <!-- put your 'com.myapp.MyApplet' in your 'MyApplet.jar' -->     
       archive="MyApplet.jar,jogl.all.jar,gluegen-rt.jar,nativewindow.all.jar,newt.all.jar" >
     
     
     
       
     
     
</applet>

</body>
</html> 

This works good.