Internal Frame Event Listener
Hello. A program I am buidling has an internal frame which contains a JTextArea. I am trying to listen for events such as the internal frame being resized, maximized, or iconified and then detect what the width or height of the internal frame is after such an event. Is there any way I can do this? I tried having a class that extends JInternalFrame and implements ComponentListener but I get an error that says this class is not abstract.
[446 byte] By [
lesnaubra] at [2007-11-27 9:10:20]

It isn't the extending part that is giving the error. I'm pretty sure it's because of how I am trying to implement ComponentListener. And yes JFrame does have those capabilities but I am using JInternalFrames. Is there way to put a JFrame inside of another JFrame to act like a JInternalFrame? If it requires a decent amount of changes, then I cannot consider it because this program I am making already has most of it build around the fact that I am using JInternalFrames.