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!

When resizing of JFrame ended?

843806Nov 4 2008 — edited Nov 5 2008
Hello, I am trying to make a game in which when you resize window it resizes a lot of things...

I do not want to resize them every time the user is resizing the window, but I want to know when the resizing ended - when the user releasedMouse

I am using ComponentListener and I would like to use ComponentListener and MouseListener to that JFrame, but when I addMouseListener to the JFrame it does not give me MouseReleased Events when user ended resizing.

Thanks for help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2008
Added on Nov 4 2008
10 comments
517 views