my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Cancel a cancel?" Watch "Cancel a cancel?" New topic
Author

Cancel a cancel?

Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2840
    
  11

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
Bartender

Joined: Apr 06, 2010
Posts: 4344
    
    8

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: 10172
    
    8

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!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cancel a cancel?
 
Similar Threads
cancel button issue
JTextField listener to enable button action
My Cancel button is not working in struts1.2
Shortcut key for Cancel button
Authorization problem (!!!NOT SOLVED!!!)