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