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



Does overriding update(Graphics g) + not calling super changes something (erase background will be not called then)?

2008/9/24 <email@hidden>
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



--
vi is [[13~^[[15~^[[15~^[[19~^[[18~^ a
muk[^[[29~^[[34~^[[26~^[[32~^ch better editor than this emacs. I know
I^[[14~'ll get flamed for this but the truth has to be
said. ^[[D^[[D^[[D^[[D ^[[D^[^[[D^[[D^[[B^
exit ^X^C quit :x :wq dang it :w:w:w :x ^C^C^Z^D
-- seen on alt.religion.emacs

 _______________________________________________
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>)
 >Re: Programmatic resize flicker (From: 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.