Jogl and Jboss

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Jogl and Jboss

Worker
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.


Reply | Threaded
Open this post in threaded view
|

Re: Jogl and Jboss

Worker
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Jogl and Jboss

Worker
Shit , found a bug in the forum here.
And that in my first login.....

a tag with
some parameter tags follows, but there are cutted here in the forum, so i set it als normal text.
In your html you must set itself then the <param name= tag's
(Seems to be a bug in this forum.)

"codebase_lookup" value="false"
"progressbar" value="true"
"noddraw.check" value="true"
"java_arguments" value="-Dsun.java2d.noddraw=true"
"cache_archive" VALUE="test.jar,jogl.all.jar,gluegen-rt.jar,nativewindow.all.jar,newt.all.jar"
"cache_archive_ex" VALUE="test.jar;preload,jogl.all.jar;preload,gluegen-rt.jar;preload,nativewindow.all.jar;preload,newt.all.jar;preload"

Reply | Threaded
Open this post in threaded view
|

Re: Jogl and Jboss

Wade Walker
Administrator
You might try "More options > Raw text" to surround your example -- that should keep the formatting from being lost. You can preview the message before posting to make sure it looks OK. You can also upload as a file with "More options > Upload a file".
Reply | Threaded
Open this post in threaded view
|

Re: Jogl and Jboss

Worker
Thanks for your hints