tags:

views:

26

answers:

1

I have created a JFrame and I would like to associate a specific behaviour when this JFrame is closed. Is it possible?

+2  A: 

You can setDefaultCloseOperation or add a WindowListener.

Josef