Can not disable buttons on firefox on Macintosh

N

Niels Dybdahl

Hi,

I am having trouble with an applet where I need to disable some buttons.
It works fine with Firefox on Windows and it works fine with Safari on
MacOSX.
But when I run the same applet on Firefox 1.5.0.2 on MacOSX, then the
buttons are automatically enabled again.
I have traced the problem to be caused by doLayout causing
java.awt.SimpleLayout.enableAllButtons(...) to be called. I can not find any
documentation on SimpleLayout. Could this be a layout that Firefox adds to
the java runtime ?

Does anybody have a clue on what is going on ?

Best regards
Niels Dybdahl
 
M

Mickey Segal

I am having trouble with an applet where I need to disable some buttons.
It works fine with Firefox on Windows and it works fine with Safari on
MacOSX.

Putting up on the Web a reductionistic applet and mentioning this on Apple's
Java-Dev discussion list:
http://www.lists.apple.com/mailman/listinfo/java-dev
are the best ways to get input. If you have an example on the Web and have
reported this as a bug we can add it to our list of Macintosh Java bugs at
www.segal.org/macjavabugs/. The list is only a shadow of its former self
because Apple has fixed so many bugs that were on the list previously.
 
N

Niels Dybdahl

Niels Dybdahl said:
Hi,

I am having trouble with an applet where I need to disable some buttons.
It works fine with Firefox on Windows and it works fine with Safari on
MacOSX.
But when I run the same applet on Firefox 1.5.0.2 on MacOSX, then the
buttons are automatically enabled again.
I have traced the problem to be caused by doLayout causing
java.awt.SimpleLayout.enableAllButtons(...) to be called. I can not find
any documentation on SimpleLayout. Could this be a layout that Firefox
adds to the java runtime ?

Does anybody have a clue on what is going on ?

Found it: A bug in the Java Embedding Plugin that comes with current
versions of Firefox.
Is fixed in Java Embedding Plugin 0.9.5+D, which has not yet been included
in Firefox.

Niels Dybdahl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top