Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSX / IE applet paint problem



Gus Bazos <email@hidden> wrote:

>Bug: Applet does not paint itself upon initialization (until you move the
>mouse over it's window)
>[...]
>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!

That sounds like Applet.init() is not being called until after you move the
mouse. Can you put in some kind of visible checkpoint, such as a println()
and flush(), early in init() to see when it's being called? You might want
to do something like that in the applet's constructor, too, so you can
observe these pivotal points in the applet's life-cycle.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.