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: Toolkit setDynamicLayout without effect



email@hidden wrote:

>The performance of Java on Mac OS X when resizing a Swing GUI ist very poor.
>I wanted to disable the dynamic layout when resizing the window, but no
>effect:
>the layout is still computed while resizing. Any solutions around?

The API docs for Toolkit.setDynamicLayout() say that support is
platform-dependent, and that the feature itself may only be configurable by
a mechanism other than setDynamicLayout(), if it's present at all.

The API docs also say:
  "The OS/WM support can be queried using
  getDesktopProperty("awt.dynamicLayoutSupported"). "

That should be your first step.

I don't know if there's a predefinable system-property that typically
controls dynamic layout, but you can search ADC or even Sun's Java site for
"dynamic layout" to see if there is.

  -- 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.