The Source for Java Technology Collaboration

Home » java.net Forums » JDK » Java SE

Thread: AbsoluteLayout

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Last Post: Jan 5, 2005 9:20 AM by: denisw
denisw

Posts: 21
AbsoluteLayout
Posted: Jan 3, 2005 9:12 AM
  Click to reply to this thread Reply

There should be an AbsoluteLayout in Swing, like the one in NetBeans.

jwenting

Posts: 478
Re: AbsoluteLayout
Posted: Jan 4, 2005 1:22 AM   in response to: denisw
  Click to reply to this thread Reply

there's NullLayout which allows laying out on pixel coordinates.
Doesn't get much more absolute than that ;)

denisw

Posts: 21
Re: AbsoluteLayout
Posted: Jan 4, 2005 11:37 AM   in response to: jwenting
  Click to reply to this thread Reply

Oh... but why does NetBeans provide a AbsoluteLayout then?

bino_george

Posts: 145
Re: AbsoluteLayout
Posted: Jan 4, 2005 4:50 PM   in response to: denisw
  Click to reply to this thread Reply

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

denisw

Posts: 21
Re: AbsoluteLayout
Posted: Jan 5, 2005 9:20 AM   in response to: bino_george
  Click to reply to this thread Reply

Where did you get that demo?

denisw

Posts: 21
Re: AbsoluteLayout
Posted: Jan 5, 2005 9:20 AM   in response to: denisw
  Click to reply to this thread Reply

Oh, you're from Sun. That's the reason... :)




 XML java.net RSS