Results 1 to 5 of 5

Thread: JInternalFrame Listeners

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    UK
    Posts
    222

    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

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    UK
    Posts
    222

    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.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    UK
    Posts
    222

    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
  •  



Click Here to Expand Forum to Full Width