how to know if JDialog is closed or not?

Posted by mithun1538 on Stack Overflow See other posts from Stack Overflow or by mithun1538
Published on 2010-04-02T10:31:52Z Indexed on 2010/04/02 10:43 UTC
Read the original article Hit count: 437

Filed under:
|

Hello everyone, I have used a JDialog to display a form ( I could have used JFrame, but I have my reasons). There is an event in my application that will cause a function to generate and display the said JDialog. Now, I want to know if the user has closed that JDialog. How do I find this out?

P.S. My defaultCloseOperation is JDialog.DISPOSE_ON_CLOSE.

© Stack Overflow or respective owner

Related posts about jdialog

Related posts about java