It depends on the application (startup time, loss of data, irritation for the user if he didnt intend to do that) but in my personal experience with my own product as well as other products there are several times when I have closed the application without intending to. In all these cases it would have been great to have the application confirm this request - would have saved me a great deal in startup time! However, the counter argument is that this happens once every 300 times so do you want to bother the user 299 times just for that one time?
Perhaps the confirmation can appear only when (using Windows) I close using the close button or I used Alt+F4 because those are the two common ways for me to goof up - I intended to close the document (document's close button or Ctrl+F4) and ended up closing the application. No confirmation when I choose the Exit menu. Ofcourse, the dialog must have the "Dont ask me again" check box for those users who do not like this dialog box. What do you think? Regards Sachin ----- Original Message ----- From: "Paul Kavanagh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 10:50 PM Subject: Prompt user before exiting (usability question) > Hi, > > this is more usability than Swing, so if there's a more appropriate forum then please let me know. > > I'm wondering whether it's good practice to prompt the user before exiting the application ? I have > an exit action tied to an Exit menu item and also to the windowClosing event. Should I prompt > (there's nothing to save) or just quit ? > > Thanks in advance, > -Paul > > _______________________________________________ > Advanced-swing mailing list > [EMAIL PROTECTED] > http://eos.dk/mailman/listinfo/advanced-swing _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing