Results 1 to 4 of 4
- 12-05-2011, 03:30 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 19
- Rep Power
- 0
How to show optionPane after clicking on close cross
Hi,
i have little app which stores some data about customers. Those data are stored in .txt file. Now my question is. When i click on menu item Quit is performed action which saves all new data, then rewrites the the file and exits the program. But when the user quit the app by clicking close cross, the data will not save at all. So how can i modify the defaultCloseOperation.EXIT_ON_CLOSE?? I want to display after closing the program a option pane which says: Are you sure to quit...or something like that.
- 12-05-2011, 03:34 PM #2
Re: How to show optionPane after clicking on close cross
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 12-05-2011, 06:32 PM #3
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Re: How to show optionPane after clicking on close cross
- 12-05-2011, 10:16 PM #4
Member
- Join Date
- Nov 2010
- Posts
- 19
- Rep Power
- 0
Similar Threads
-
Cross-Browser Issue with show/hide divs
By jmchaffie in forum New To JavaReplies: 3Last Post: 03-10-2011, 09:41 AM -
How to show the full resolution image at clicking on thumnail
By amritpalpathak in forum New To JavaReplies: 4Last Post: 12-01-2010, 04:43 PM -
how to show web browser in mobile app or is it possible to show it in textArea
By Basit781 in forum CLDC and MIDPReplies: 3Last Post: 05-27-2010, 10:54 AM -
Will the connection.close() and statement.close() ever be called???
By Stephen Douglas in forum New To JavaReplies: 13Last Post: 04-09-2010, 11:15 AM -
netbeans 6.0 not show commpunent or show blank page
By fahimaamir in forum NetBeansReplies: 1Last Post: 01-26-2008, 06:20 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks