swing- trapping mouse click on the close button(the x)

Discussion in 'Java' started by epicwinter@hotmail.com, Jan 4, 2005.

  1. Guest

    I am trying to figure out how I can trap the event when someone clicks
    on the upper right hand corner X to close a jinternalframe. I realize i
    can tell when a frame is closed by adding an internal frame listener or
    a component listener. But I want to know when a frame is closed for
    clicking the x as opposed to an exit button i have or some other event
    i have in my application which closes the window.????
     
    , Jan 4, 2005
    #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. Davisro
    Replies:
    2
    Views:
    1,350
    Jim Corey
    Apr 23, 2004
  2. =?Utf-8?B?am9qb2Jhcg==?=
    Replies:
    1
    Views:
    4,165
    wwwtar
    Oct 2, 2006
  3. George Weis
    Replies:
    2
    Views:
    1,361
    John B. Matthews
    Feb 23, 2010
  4. Kid Kid
    Replies:
    6
    Views:
    519
  5. Daniish
    Replies:
    2
    Views:
    266
    Thomas 'PointedEars' Lahn
    Jun 13, 2008
Loading...

Share This Page