responding to JInternalFrame events from JDesktopPane/JFrame

Discussion in 'Java' started by Mike, Sep 6, 2008.

  1. Mike

    Mike Guest

    I have a main window (JFrame) that has a variable JDesktopPane. To the
    JDesktopPane, I added a couple of JInternalFrame children. The problem
    I'm having is that I don't know at the JFrame and JDesktopPane level
    when the JInternalFrame window closes. When the JInternalFrame window
    closes, I need to do certain things in the parent JFrame. However, I
    don't want to pass a handle from JFrame to JInternalFrame. How can I
    listen for JInternalFrame window closing events at the main window
    (JFrame) level? Is there a creative way to do this?
    Mike, Sep 6, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eveline Franken
    Replies:
    1
    Views:
    680
    Maurizio
    Jul 25, 2003
  2. Replies:
    8
    Views:
    9,118
  3. jakester
    Replies:
    3
    Views:
    1,824
    jakester
    Apr 3, 2007
  4. patrick boulay
    Replies:
    5
    Views:
    1,420
    patrick boulay
    Feb 8, 2009
  5. Replies:
    2
    Views:
    413
    markspace
    Aug 27, 2012
Loading...

Share This Page