At 04:51 PM 3/16/2001 +0000, Greg Munt wrote:
>Actually, forget that.
>
>Use setSize, which is actually in the AWT foundations of Swing. The concept
>of a preferred size is only relevant to components that can be resized by
>layout managers.

Well, see, that was the thing.  :-) It struck me as a non-trivial
question, since there's no such thing as setMinimumSize().
I guess the setSize approach would work, too, but I
wasn't sure at the time, and was too lazy to look at the
source code... or the docs... wow.  Now that's lazy.



_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to