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: Native GUI elements disappearing when resizing



Bjorn Roche wrote:

>I have a mostly swing app which has problems such as AWT, QTJ and
>com.apple.eawt.CocoaComponent components don't redraw after a resize or
>layout change.

Version numbers?  Java and OS?  CPU arch?

These might be significant, because J2SE 5 Release 4 has two fixes that
mention com.apple.eawt.CocoaComponent.CompatibilityMode:

<http://developer.apple.com/releasenotes/Java/Java50Release4RN/ResolvedIssues/chapter_3_section_15.html>

If you're on J2SE5r4, you might want to try your test with compat mode set
to truu.  Also try a preset to true or false using a -D cmd-line option.

And you may want to move the first f.show() into the Thread, dispatched as
invokeAndWait(), which they probably should all be.  It's conceivable you
can get a race condition, but I'm theorizing, not relating test results.

  -- GG


 _______________________________________________
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



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.