eric
What Swing is missing is the ability to specify struts between
components as well as the container:
- Struts should be explicitly definable with a distance value,
similar to struts in the Box class.
- I'd like to specify a "spring-strut" which has a minimum
strut distance with spring behavior beyound the strut.
- Need some way to expand a component to take up all of the
area in a dimension (x or y), while respecting the springs/struts
of other components. It kinda does it now - *AFTER* you specify
a Bounds for the component. What I want is to do this without
ever specifying the Bounds for the component.
- Need to attach springs/struts between components in the container,
as well as to the container itself.
IMHO, the SpringLayout manager should be replaced with a real
SpringStrut layout manager as in Galaxy. Another thing cool about
the Galaxy SprintStrut manager was that it was solvable in constant
time, making it feasible to "watch" the components layout as you
move them around, stretch the dialog, etc inside the GUI builder
(as opposed to a move/stretch and then watch the constraints get
resolved like the XmForm does...)
Maybe we're justing using SpringLayout wrong? Anyone from the
Swing team following this and have some answers?
--
John Goodsen Saguaro Software, Inc. / Training & Consulting
in:
jgoo...@saguarosoft.com - User Centered Analysis and Architecture
http://www.saguarosoft.com - User Centered Object-Oriented Design
602.706.1056 - Rapid Incremental Delivery Software
Process