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: Programmatic resize flicker



Great question.

I played with this for an hour or two just now with no success. I tried a variety of options: overriding paint() methods, touching the forbidden WindowPeer objects, playing with EventQueues and coalesceEvents(), etc. I learned a little bit here and there, but made no progress.

It appears that during the flicker the background color of the window will be used to fill the entire window without consulting a paint() method.

 - Jeremy

On Sep 23, 2008, at 6:43 PM, Ken Orr wrote:

Is there any way to programmatically resize a Window via setSize without causing a horrendous looking flicker? Its impossible to create a custom window resize widget that reacts to mouseDragged events with the current state of affairs. If there is *any* way to do this, even with platform specific casting, I'm willing to do it. I'm hoping one of the Apple guys chimes in!

By the way, I know this issue has been brought up here, as far back as this message: http://lists.apple.com/archives/Java-dev/2006/Mar/msg00179.html

-Ken


_______________________________________________ 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
References: 
 >Programmatic resize flicker (From: Ken Orr <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.