Submitted On 09-MAR-1999
kriff
For efficiency, I'd suggest that you create a new
event (perhaps called componentResizing) and an
appropriate listener interface class. This way,
current programs will not be affected and they
will not be deluged with constant event notifications.
Submitted On 25-OCT-1999
xephyrus
This is NOT a request for enhancement - the resize notification DOES NOT WORK.
There is absolutely no value in returning the size the component was - that is
a bug. When notifying of a resize event, the size that the user is trying to
resize to is the significant data involved. Otherwise it's just a tease:
"I'm resizing, but the new size is a Secret! Ha!" Please consider
reclassifying this bug.
Submitted On 02-NOV-1999
gbv98
I see this is a duplicate of a bug I just submitted which was given bug number
4286216.
(Which is not yet in the external database).
See also bug number 4025609 which tells us that the Sun engineers are
deliberately surpressing these messages.
The supression of these messages was completely pointless because of bug number
4174831 which caused multiple complete repaints of the frame during the resize
operation. Bug 4174831 has just been fixed in 1.3beta.
The resize/repaint policy is completely foul, I am going to submit other bugs
to point this out.
I have little hope of them ever being fixed.
David Campaign
Submitted On 04-DEC-2001
wplaner
The requested behaviour can only be obtained by setting the
JFrame NOT resizable and adding a MouseListener which
performs the resizing when the Mouse-Pointer is dragged
near the edges of the frame
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|