Applets hang up internet browser.

Hi !
I have another problem with my applets. On some computers only (not all) they tend to hang up the Internet Explorer, and unfortunately, also Netscape Navigator. If they are started in IE, and hang up, then the only way to close the browser is ending it’s task or process form task manager. First thought - IO operations - reading texture data (I’m doing it with ImageIO.read()). But that’s not the source of the problem - the applet execution (or rather initialization :wink: never reaches this lines of code.
My applets are available here:
http://grafit.mech.pw.edu.pl/~jaz/JOGLtextureMapping/JOGLtextureMapping.html
http://grafit.mech.pw.edu.pl/~jaz/Blending-Eng/JOGLBlending.html - disappearing polygons
http://grafit.mech.pw.edu.pl/~jaz/JOGLBumpMapping/BumpMapping.html - the polygons disappear, and it will HANG UP your browser for 75%. DO NOT OPEN THIS while you have some other browser windows opened.

There is a problem with disappearing polygons also, which I described in this thread
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1094563721. Please look at it, if you have a spare minute (or few).

HELP !

Thanks in advance.
Maciek.

The problem is that JOGL needs to use a dynamic library, which is normally forbidden in the applet sandbox. You will need to sign your applet with jarsigner and keytool. I have not used JOGL in an applet yet so if you get it to work post what you had to do so someone else can easily firugre out how to do it.

Keytool

Tutorial

Thanks ! :wink: Went to sing some applets… ;D

Unfortunately it didn’t help :frowning: Applets crush browser like they did before signing the Jar file. I’ve found something on JNI forum - http://forum.java.sun.com/thread.jsp?forum=52&thread=451106. The problem described there is similar, only difference is that applets work when Jars are copied to lib/ext manually.This doesn’t help in my case. I will look there for solution. One thing is interesting - why did security manager allow applet to start when it wasn’t signed. I seen applets that weren’t signed and run properly using JOGL. They are available here - http://www.stud.ntnu.no/~johanno/appletviewer.jsp?task=tutorials Strange, isn’t it ???

By manually placing JOGL in the bin and lib/ext directories you are explicitly granting all applications and applets access to JOGL. That is what that website tells you to do. I will try to find a little time to figure out what you are supposed to be doing.

Thank you for your help. I’m searching JNI forum now, maybe I’ll find something ::slight_smile: If I do, I will immediately post it here.

It seems that applets started to work like they should after all (I signed the Jars) :wink: Thanks for help GKW.

Ps. They still hang up, but rarely, even the third one - the “bump mapping” one ::slight_smile: