-
JInternalFrame Listeners
I'm playing around with JInternalFrame and need to know when the things has been moved or resized, but i can't seem to connect any kind of listeners to it to recieve an event when something like this happens...
Any suggestions on how to accomplish what i want??
regards
Andrew
-
My JInternalFrame listeners work nicely. Do you have some more information?
-
Internal Frames
My Internal Frames work fine, its just i'd like to know when they have changed, i know when they have moved as i have a moue listener on the title area of the internal frame, its this dosen't give me infromation about when the Internal Frame frame/border is stretched etc...., i'd just like to be notified when this occurs if possible.
-
As I said, that works fine for me. Oh, it seems I'm using a component listener:
Code:
addComponentListener(new ComponentAdapter() {
public void componentMoved(ComponentEvent e) {
updatePosition();
}
public void componentResized(ComponentEvent e) {
updatePosition();
}
});
-
ah hah!
Marvellous, knew there was a way! cheers