Thread-topic: Applets don't repaint themselves on Firefox/Mac
User-agent: Microsoft-Entourage/11.4.0.080122
Joshua, thanks for your answer.
Great... apart from filing bugs with Mozilla or JEP, is there a known
workaround? As I mentioned, forcibly calling paint() or update() is
not always feasible without architectural changes.
Thanks
Andreas
> Von: Joshua Smith <email@hidden>
> Datum: Thu, 17 Apr 2008 12:44:16 -0400
> An: Andreas Weder <email@hidden>
> Cc: <email@hidden>
> Betreff: Re: Applets don't repaint themselves on Firefox/Mac
>
> This bug has existed in Firefox on the Mac for as long as I can
> remember.
>
> On Apr 17, 2008, at 11:56 AM, Andreas Weder wrote:
>
>> Hi,
>>
>> I have a problem with a Java applet using the latest 1.5 version of
>> Java
>> on Leopard 1.5.2.
>>
>> The applet has a number of elements, among them a couple of labels,
>> which
>> are updated if I click on buttons. As required, as soon as the
>> labels have
>> been updated, I call their repaint() method to request a redraw.
>>
>> The problem is that the label doesn't repaint itself or only after a
>> long
>> period *on Firefox on Mac* (I'm using Firefox 2.0.0.14).
>>
>> Safari works fine, IE/Firefox on Windows work fine. Running the
>> applet as
>> application (it can do that) works fine.
>>
>> I've found that instead of calling repaint(), calling
>> update(getGraphics())
>> fixes the problem, but apart from the fact that I should call
>> update(), let
>> alone getGraphics(), I also cannot call update() every time I can call
>> repaint() now: sometimes the graphics context isn't ready yet.
>>
>> Does anyone know of problems with UPDATE PaintEvents not being
>> delivered
>> or processed properly on FireFox or by JEP (the Java Embedding
>> Plugin)?
>>
>> Thanks a lot for your help.
>>
>> Andreas
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Java-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/java-dev/email@hidden
>>
>> This email sent to email@hidden
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden