File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
How do you handle "cancel" in dialog box?
justin x kim
Joined: Nov 12, 2003
Nov 12, 2003 03:46:00
How do you handle the users response of "cancel" in a JOptionPane.showInputDialog dialog box?
Can anyone show me simple example?
Joined: Oct 29, 2001
Nov 12, 2003 07:27:00
The return value will be null if the user presses "Cancel". There's plenty of examples in the
How To Ask Questions On JavaRanch
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How do you handle "cancel" in dialog box?
How does JOptionPane return the proper value?
how to cancel a closing JInternalFrame
Java script dialog box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015