|
-
Jun 3rd, 2004, 05:18 AM
#1
Thread Starter
Addicted Member
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
-
Jun 4th, 2004, 06:39 AM
#2
My JInternalFrame listeners work nicely. Do you have some more information?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 4th, 2004, 06:44 AM
#3
Thread Starter
Addicted Member
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.
-
Jun 4th, 2004, 09:22 AM
#4
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();
}
});
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 4th, 2004, 09:28 AM
#5
Thread Starter
Addicted Member
ah hah!
Marvellous, knew there was a way! cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|