We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › Freeze in a Firefox
Page Index Toggle Pages: 1
Freeze in a Firefox (Read 2296 times)
Freeze in a Firefox
Apr 22nd, 2005, 7:21am
 
Hello,

There's a problem when using Firefox on OSX. If you move mouse over the applet, it stops working. I've tested several simple applets and all have the same problem.

My OSX is 10.3.9 and I've already done a patch for 10.3.9 java problem.

Please check it Smiley
Thanks.

Sou
Re: Freeze in a Firefox
Reply #1 - Apr 22nd, 2005, 4:34pm
 
ah, now it's ok!
I should have googled before asking Smiley
This isn't the fault of the P5, Mozilla only uses JRE 1.3.1 even if a later JRE is installed. So I have to get some Java plug-in for this Fox to work!

This is the link to this topic!
http://plugindoc.mozdev.org/OSX.html#Java

anyway, Doesn't P5 Beta support Java 1.3 ?
Re: Freeze in a Firefox
Reply #2 - Apr 23rd, 2005, 1:55am
 
nope, we should be supporting 1.3 for exported applets just fine... could you try running with firefox and check the java console for any errors that happen when your code freezes up?
Re: Freeze in a Firefox
Reply #3 - Apr 23rd, 2005, 8:15pm
 
Hi, fry Smiley

Belows are the error messages in Java console.
There's no mouse-related code in the source and there's no error if I do it in JRE 1.4.2.


java.lang.NoSuchMethodError
     at processing.core.PApplet.handleMouseEvent(PApplet.java:1189)
     at processing.core.PApplet.dequeueMouseEvents(PApplet.java:1167)
     at processing.core.PApplet.display(PApplet.java:1080)
     at processing.core.PGraphics.requestDisplay(PGraphics.java:362)
     at processing.core.PApplet.run(PApplet.java:916)
     at java.lang.Thread.run(Thread.java:491)
Re: Freeze in a Firefox
Reply #4 - Apr 23rd, 2005, 9:16pm
 
aha, thanks.. found and fixed. was using getButton(), a java 1.4-specific function, to get the mouse button. just changed it back to the 1.1/1.3 version and it'll be all set for 86.
Re: Freeze in a Firefox
Reply #5 - Apr 25th, 2005, 8:27pm
 
I've run into this issue too... is there something we can do in our code to get around it until 0086? It isn't happening to everyone, so is there some function we can avoid to solve this temporarily?

Thanks
Re: Freeze in a Firefox
Reply #6 - Apr 25th, 2005, 10:07pm
 
yeah, it's not happening for all since safari uses java 1.4 instead of 1.3. this project: http://javaplugin.sourceforge.net/ seems to have a fix, but i haven't tried it.
Re: Freeze in a Firefox
Reply #7 - May 7th, 2005, 7:34pm
 
fixed in 86, so closing thread.
Page Index Toggle Pages: 1