There should be an AbsoluteLayout in Swing, like the one in NetBeans.
there's NullLayout which allows laying out on pixel coordinates.
Doesn't get much more absolute than that ;)
Oh... but why does NetBeans provide a AbsoluteLayout then?
> Oh... but why does NetBeans provide a AbsoluteLayout
I think AbsoluteLayout does more than just setting Layout to null. AbsoluteLayout may even accomodate for changes in font sizes etc.
I know that the Swing team is working with the Netbeans
team to provide enhancements to the Swing layouts so that
building Swing UIs can be made easier and more intuitive.
I have seen a demo of it and it seems very intuitive, almost like a graphics tool.
Layouts are one of the most commonly complained about area because most
people find the exisiting layout managers complex and unintuitive.
So hopefully if these improvements go into Mustang, which they probably will, then it should improve the ease
of building GUIs with builders.
Where did you get that demo?
Oh, you're from Sun. That's the reason... :)
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.