File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Please tell me Window Resizing event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Please tell me Window Resizing event" Watch "Please tell me Window Resizing event" New topic

Please tell me Window Resizing event

narayana murthy pedapudi
Ranch Hand

Joined: Jul 23, 2003
Posts: 42
When window resize is called (Which event will be triggered).
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

You'll have to add a ComponentListener to your window. When it is resized the componentResized( ComponentEvent ) method will be called.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Please tell me Window Resizing event
Similar Threads
Checking for a specific value
How to detect the browser closing event ?
Session retention
parent window notification
Updating parent JSP(without a page refresh) on pop-up action