|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I've seen this bug reported several months back, and since it's still not
fixed with latest revisions (MRJ3.2 IE5.2.1 OSX10.1.5), I'm wondering if
anyone has found a workaround.
Bug: Applet does not paint itself upon initialization (until you move the
mouse over it's window)
- applet is launched in a new window using javscript (window.open)
- large (450K) signed jar file
- large applet screen area (> 800 x 600 )
- all applet images are stored/retrieved from jar
If applet is launched in the same window as its link (ie not a new window),
then it appears normally.
I have tried calling toolbox InvalRectRegion on the browser window from
inside the applet's init() method, but this has no effect.
I've tried creating an applet thread (in Applet.init()) that calls repaint
on the applet every few seconds, but tellingly, the thread does not even
start executing -- it only begins running after I move the mouse!
I've also found that if I force the applet window to resize (using
the problem with this is that it must be done after the applet has
initialized, and there is no way of knowing when this occurs without
liveconnect. (I've tried the Applet.showDocument()-to-window-frame trick in
lieu of liveconnect, but that only made matters worse -- browser freezes)
Anyone care to offer other ideas?
gus bazos | workflow solutions | +1.250.592.5866 | email@hidden |
IMAGINE CREATE BELIEVE
java-dev mailing list | email@hidden
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
|>OSX / IE applet paint problem (From: Gus Bazos <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.