minimumSize() is deprecated. Looks like getMinimumSize() has to be
overridden. Why isn't there a setMinimumSize(), dammit?? Why should I have
to create a new type, just to set the minimum size of a window?
-----Original Message-----
From: Wilson AJ <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: 'Paul Brinkley' <[EMAIL PROTECTED]>
Date: Friday, March 16, 2001 05:44
Subject: RE: resized JFrame
>
>I believe you still need to override minimumSize() and getMinimumSize()
>if the window is resizable to satisify what was originally asked.
>
>> -----Original Message-----
>> From: Paul Brinkley [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, March 16, 2001 11:35 AM
>> To: [EMAIL PROTECTED]
>> Subject: Re: resized JFrame
>>
>>
>> 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
>>
>_______________________________________________
>Advanced-swing mailing list
>[EMAIL PROTECTED]
>http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing