> I have seen Swing applications where they do what I call "live layout" and I
> want to know how to do it in my application. Live layout is where the
[quoted text clipped - 4 lines]
> performed *after* the user releases the mouse button and not while the
> actual window is being resized.
The technical term for this is "dynamic layout".
> I am sure it must be something simple or even complex, it doesn't matter.
> Most Windows programs work in this way and I want my Swing applications to
> work in the same manner.
>
> Does anyone know the method used to accommodate live layout? Please don't
> send me to a URL or ask me to RTFM;
Well, in spite of your admonition I send you to this URL
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Toolkit.html#setDynamicLayout(b
oolean)
and request you to read it. ;-)
Looks like
Toolkit.getDefaultToolkit().setDynamicLayout(true);
is exactly what you want.
> I've done the layout tutorial already
> and now I just need some help.
>
> Thanks,
>
> Wes

Signature
"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')
Wes Harrison - 02 Aug 2005 13:51 GMT
> > I have seen Swing applications where they do what I call "live layout" and I
> > want to know how to do it in my application. Live layout is where the
[quoted text clipped - 13 lines]
> > send me to a URL or ask me to RTFM;
> Well, in spite of your admonition I send you to this URL
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Toolkit.html#setDynamicLayout(b
oolean)
> and request you to read it. ;-)
> Looks like
> Toolkit.getDefaultToolkit().setDynamicLayout(true);
> is exactly what you want.
Yes, that's it exactly! I thought it would be something simple. Thanks
very much.
Wes