Hi
I have an application. So I use JFrame to my main GUI. And JDialog's to other GUI's. But the problem is, after I call to a sub class(they are with JDialog) and do work and close. Then again I want to call previous sub class, but there are previous data. I did set the DefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE). I can't set the DefaultCloseOperation as EXIT_ON_CLOSE. what I want to do now. I want to close the Dialog.No need to hide it.please help me.
Thank you!
I have an application. So I use JFrame to my main GUI. And JDialog's to other GUI's. But the problem is, after I call to a sub class(they are with JDialog) and do work and close. Then again I want to call previous sub class, but there are previous data. I did set the DefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE). I can't set the DefaultCloseOperation as EXIT_ON_CLOSE. what I want to do now. I want to close the Dialog.No need to hide it.please help me.
Thank you!