Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I resize event for JFrame only fires on mouse UP, why ?

794822Jun 9 2010 — edited Jun 10 2010
Hello:
I'm trying to control the resize event of my JFrame, using :
 this.addComponentListener(new java.awt.event.ComponentAdapter() 
{
public void componentResized(ComponentEvent e)
{
System.out.println("JFrame was resized");
}
});
The problem is (as I explain in the subject) that the event is only fire on mouse up, ??????
I need to know this event during the movement of the mouse with button pressed, not when I released it . .
Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2010
Added on Jun 9 2010
6 comments
436 views