posted 17 years ago
Dear Michael,
Thanks for the reply.
Th logic given by you worked.
But some more probles are there.
Whenever i select Exit option from File Menu, the saveAs dialog appears, but if i click cancel my application should not exit. But it exits.
I also included JFrame.DO_NOTHING_ON_CLOSE as you suggested.
If i use windowListener, fileitemsaveas_actionPerformed method could not be called.
Kindly provide your reply.
This is the code i wrote: