JTable incorrectly consumes Esc key

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0_01, 5.0
    • Component/s: client-libs
    • generic
    • generic, solaris_8

      If you are traversing JTable (not editing) and hit Esc key the event is consumed by JTable. It happens because the "cancel" action is enabled in all situations. It should not be enabled while you are not editing.
      javax.swing.plaf.basic.BasicTableUI.CancelEditingAction is the culprit.
      Fix for similar problem was already applied in BasicTreeUI between JDK1.3 and JDK1.4. Please do the same for JTable. Thanks.

            Assignee:
            Shannon Hickey (Inactive)
            Reporter:
            David Štrupl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: