Skip to main content

Why wait to add "GroupLayout" to Java 7, it should be in 6!

1 reply [Last post]
netsql
Offline
Joined: 2004-03-07
Points: 0

I see an interview on a new LayoutManager, that is released in version 1.0 AND used in NetBeans.
It's planed to be included in Java 7.

WHY WAIT?
Why do I have to include a jar to ship my application?

.V
ps: of course, current layouts are not humanly maintainable, so of no use. Now I use jGoodies.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
arseniy
Offline
Joined: 2004-04-06
Points: 0

A short answer to your question would be that it just did not make it into Java SE 6, primarily for the time reasons. From reading the interview (http://java.sun.com/developer/technicalArticles/Interviews/violet_pavek_...), you probably know that a new layout manager was not a goal initially but instead emerged naturally from the needs of the NetBeans Matisse project.

The good news is that using the swing-layout library, you can run Matisse applications on 1.4.2 (and, of course, all newer) JREs. And like you mentioned GroupLayout and other things from the Swing Layout Extensions project are definitely on its way to being included into the JDK in the future.