Capture when closed(X) button pressed of a window in Swing.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    Capture when closed(X) button pressed of a window in Swing.

    Please Help me.

    Debasis Jana.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    When you're reading API documentation (if you're reading it) you should also
    read the documentation for the parent class etc. So for a JFrame you should
    also check the API documentation for the Frame and Window classes. You
    definititely will see a WindowListener mentioned. Read about it.

    kind regards,

    Jos

    Comment

    Working...