-
Bug
-
Resolution: Won't Fix
-
P5
-
None
-
1.1.1
-
x86
-
windows_nt
Name: sgC58550 Date: 06/19/97
If you derive an object from Canvas and override getMinimumSize,
you still get the wrong result from getPreferredSize because it
is obtained from the peer.
The reason is because Canvas overrides getMinimumSize itself,
but Component's getPreferredSize deferrs to the Peer.
Canvas should override getPreferredSize to call getMinimumSize.
Otherwise, every subclass of Canvas which overrides
getMinimumSize must also override getPreferredSize, and they
methods in all the subclasses are all identical.
company - WebLogic, Inc. , email - ###@###.###
======================================================================