Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139510

Default Button Action should only be triggered if NO other Button has focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 8u60
    • javafx

      Using default buttons the not acting upon RETURN as in described JDK-8139509 really gets you in trouble eg if you open an confirmation dialog which you'd like to cancel without (ESC) the flow is like this:
      * dialog opens (ok is the default button)
      * you shift focus to "cancel" by hitting tab
      * you press return
      => result of the dialog is ok

            jgiles Jonathan Giles
            tschindl Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: