Closing Problem

I was displayed JFrame it has one checkbox ... if checkbox true(selected) one JFrame will appear [using Action Listener]....... its false(unselected) that frame will dispose ...i was done like this ....

But i want one more feature... check box selected one frame will appear ... Now i close that frame means checkbox will change his status false(unselected ) ...

For this case what i will do ......

Waiting for experts reply....

Thanks in advance...

[485 byte] By [amir430a] at [2007-11-27 7:01:02]
# 1
hi!look at the class java.awt.event.WindowListenerregardsAniruddha
Aniruddha-Herea at 2007-7-12 18:51:51 > top of Java-index,Desktop,Core GUI APIs...
# 2
i solved using window closing listener ... thanks,,,,
amir430a at 2007-7-12 18:51:51 > top of Java-index,Desktop,Core GUI APIs...