File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Please tell me Window Resizing event" Watch "Please tell me Window Resizing event" New topic
Author

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
Bartender

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
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