Computer Science Canada

Dynamic Resize

Author:  eNc [ Mon Jul 10, 2006 10:19 pm ]
Post subject:  Dynamic Resize

Hi is it possible to dynamically resize a JTextArea in Java. The problem I would like to fix is that when I drag the window outline to resize the window, the JTextArea remains at its original size untill I release the mouse button, which then it resizes to the new size of the window. Is there some kind of listener I can implement in order to detect the resizing process and as I'm resizing change the size of the JTextArea as well? How would I go about chaging this.

Thanks.


: