Re: JFrame resizing
- From: "Qu0ll" <Qu0llSixFour@xxxxxxxxx>
- Date: Thu, 29 May 2008 19:27:36 +1000
"Kenneth P. Turvey" <kt-usenet@xxxxxxxxxxxxxxxxxx> wrote in message news:483e65a7$0$2972$ec3e2dad@xxxxxxxxxxxxxxxxxxxxxxxxx
On Thu, 29 May 2008 15:47:00 +1000, Qu0ll wrote:
[Snip]
Also on the subject of JFrame resizing, why is it that I can restrict
the minimum size of a JFrame using setMinimumSize() but I cannot
restrict the maximum size using setMaximumSize()? The latter appears to
have no effect on the sizing constraints of a JFrame.
That's probably what I was thinking of. You just can't get rid of that
snap back effect in trying to set a maximum size.
At least I believe that's where we left it that last time this topic came
up.
I am not actually referring to any snap-back effect. I simply mean that if you call setMaximumSize() on a JFrame then it will still be possible to resize it larger than those dimensions or to maximise it larger. What is the point of having a setMaximumSize() method if it doesn't limit the upsizing of that frame to those dimensions in the same way that setMinimumSize() limits the downsizing?
--
And loving it,
-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@xxxxxxxxx
[Replace the "SixFour" with numbers to email me]
.
- References:
- JFrame resizing
- From: Stephan Lukits
- Re: JFrame resizing
- From: Qu0ll
- Re: JFrame resizing
- From: Kenneth P. Turvey
- JFrame resizing
- Prev by Date: Re: JFrame resizing
- Next by Date: Re: JFrame resizing
- Previous by thread: Re: JFrame resizing
- Next by thread: Document Filtering Question
- Index(es):