The moose likes Swing / AWT / SWT and the fly likes Cancel a cancel? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Cancel a cancel?" Watch "Cancel a cancel?" New topic

Cancel a cancel?

Greg Charles

Joined: Oct 01, 2001
Posts: 2968

I have a general UI question, not tied to any particular technology. I'm working on an application where users create orders. Later if they feel like it, they can cancel some or all of those orders. If they do, they get a dialog prompting them for a reason they are canceling, and two buttons -- Submit and Cancel. That is, as far as that dialog is concerned, Submit means to really cancel, and Cancel means to cancel the cancel. I hate this. Is there a better way to handle it?
Matthew Brown

Joined: Apr 06, 2010
Posts: 4543

You're right, that's horrible. Something like "Are you sure you want to cancel? Yes/No" would be an improvement, though there may well be something better. But there's no excuse for having a confirmation dialog with an ambiguous answer.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Actually that's good usability. Always provide the user to cancel an operation as far as possible.

There are actually two different "cancel" operations.
Once is canceling the order.
Second is canceling the operation.

Like Matthew said, proper wording should avoid the confusion.
Maybe instead of canceling the order, the user "recalls" the order and the second would be canceling the recall operation.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Cancel a cancel?
jQuery in Action, 3rd edition