|
Replies:
5
-
Last Post:
Jan 5, 2005 9:20 AM
by: denisw
|
|
|
|
|
|
|
AbsoluteLayout
Posted:
Jan 3, 2005 9:12 AM
|
|
|
There should be an AbsoluteLayout in Swing, like the one in NetBeans.
|
|
|
|
|
|
|
Re: AbsoluteLayout
Posted:
Jan 4, 2005 1:22 AM
in response to: denisw
|
|
|
there's NullLayout which allows laying out on pixel coordinates. Doesn't get much more absolute than that
|
|
|
|
|
|
|
|
Re: AbsoluteLayout
Posted:
Jan 4, 2005 11:37 AM
in response to: jwenting
|
|
|
Oh... but why does NetBeans provide a AbsoluteLayout then?
|
|
|
|
|
|
|
|
Re: AbsoluteLayout
Posted:
Jan 4, 2005 4:50 PM
in response to: denisw
|
|
|
> Oh... but why does NetBeans provide a AbsoluteLayout > then?
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.
Regards, Bino.
|
|
|
|
|
|
|
|
Re: AbsoluteLayout
Posted:
Jan 5, 2005 9:20 AM
in response to: bino_george
|
|
|
Where did you get that demo?
|
|
|
|
|
|
|
|
Re: AbsoluteLayout
Posted:
Jan 5, 2005 9:20 AM
in response to: denisw
|
|
|
Oh, you're from Sun. That's the reason...
|
|
|
|
|