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: Blinking window



i haven't, but it strikes me as a thread problem. in my app, i have reduced drawing errors more and more by being more and more careful to do all my GUI updates on the Swing thread, and all my event processing OFF the Swing thread. then again, i've never seen the whole window, including window chrome, blink out and back in.

i would attempt to debug it by making the problem worse, by putting Thread.sleep()'s at different places. if i could make the window blink more, more often, or more consistently with a Thread.sleep() in a certain place (I would start in my event handling code, maybe the code which does your custom character editing) then i would try to optimize that code, or move it to a threaded processor.

take that with salt. i pulled it out of my imagination. good luck. let us know if you solve it.

peace
nicholas



On Jan 8, 2006, at 9:43 AM, Alan Bomberger wrote:

Sorry about the lack of specifics, I am asking only
if someone has seen this <blink> behavior, and if so what
caused it.

_______________________________________________ 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
References: 
 >Blinking window (From: Alan Bomberger <email@hidden>)



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.