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: SpringLayout seems unworkable on OSX



Brendon McLean wrote:
Mark,


The basic rule for Java 5 SpringLayout is EAST/SOUTH first, then WEST/NORTH.  I've attached a modified version of your example which works perfectly in all Java versions.  I suspect that on Windows you where using Java 6 without knowing it.


Brebdon,

Yes, you nailed it. I did forget that I had my IDE pointed to a different JRE, and I was checking using the command window rather than printing out the System property in the program. I haven't modified my program yet, but your explanation makes sense, and since you got the example working, I think that will fix the problem. Thanks very much.

-Mark

 _______________________________________________
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: 
 >Re: SpringLayout seems unworkable on OSX (From: Greg Guerin <email@hidden>)
 >Re: SpringLayout seems unworkable on OSX (From: Mark Leone <email@hidden>)
 >Re: SpringLayout seems unworkable on OSX (From: Brendon McLean <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.