bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/24113] New: JOptionPane.showInputDialog show allow 'Cancel'in


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/24113] New: JOptionPane.showInputDialog show allow 'Cancel'ing
Date: 29 Sep 2005 07:11:06 -0000

The reference implementation of JOptionPane.showInputDialog()
returns null when the user select the 'Cancel' option.
Classpath cvs 2005.09.29 returns the current value of the input
textfield, which makes it impossible to detect the 'Cancel' option.

See attached testcase; the program should print 'Canceled!' when 
you press the 'Cancel' button.

-- 
           Summary: JOptionPane.showInputDialog show allow 'Cancel'ing
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24113




reply via email to

[Prev in Thread] Current Thread [Next in Thread]