Name: boT120536 Date: 04/12/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
With the current VM implementation, the method getMinimumSize() is meaningless
for classes that extend java.awt.Window. It may return a value, but it has no
My application needs to place a limit on how small the user can resize certain
windows. The OS supports this, but java gives me no access to it. Although I can
detect the resize and expand the window to the limit, this violates the
platform's look and feel: If the window size has a lower limit, the rubberbands
should show that limit.
I want the rubberbands to respect the limits set by getMinimumSize(). If not,
I'd like some way to force the VM to keep windows from shrinking beyond the
limit I've imposed.
This may not be supported by all platforms, but doesn't matter. There's no
reason why it can't be implemented on platforms that support it. (The same
should probably happen for getMaximumSize(), but that's less common.)
(If you decide not to fix this, could you please let us know what
getMinimumSize() is supposed to mean in this context?)
(Review ID: 120619)