How do I make a Jdialog invisible when I give Dysplasia in a specific frame?

Asked

Viewed 69 times

1

A button of my application gives dispose in the current frame and creates another different one. But the JDialog that were open when I click the button continue to exist, which should not happen.

  • could you give more information about your problem? if you can post the code in which you are having the problem

  • If I understand your problem, um Window Listener added to Jframe that is open may solve your problem.

  • Window Listener solved the problem, thank you...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.