AWT (not SWING): How to catch the Event of a Frame/Window being resized ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sakibul_Khan
Posted On:   Thursday, February 13, 2003 02:42 PM

Hi,



How do I catch the Event of a Frame/Window (AWT, not SWING) being resized.



Thanks.



----------------------------SAKIB

Re: AWT (not SWING): How to catch the Event of a Frame/Window being resized ?

Posted By:   Bahman_Barzideh  
Posted On:   Friday, February 14, 2003 05:37 AM

I am not sure this will help you but Frame and Window are derived from Component. You
can implement a ComponentListener class and install
it on the Frame/Window by calling frame.addComponentListener (). The system will invoke the
componentResized () method of your ComponentListener as the window is being resized.
About | Sitemap | Contact