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
|