natG said:
My biggest problem with Java is that there are at least
10 different valid ways to achieve your goal...
You can reduce this complexity if you restrict yourself
to grid-based layouts and a single grid-based layout manager
that can implement a huge portion of your screen design.
Alex Prayle's ExplicitLayout and my FormLayout follow
this approach. Unlike GridBagLayout these layout managers
can implement almost every well designed screen.
ExplicitLayout can implement non-rectangular layouts
where FormLayout can adds support for non-pixel-based sizes,
which are essential for following the MS layout style guide
(or general screen design).
I tried to further reduce the time necessary to find
and implement layouts by a builder layer on top of
the layout manager, layout factory classes and a
predefined layout implementation style that leads
to a lean production style.
Hope this helps,
Karsten