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

JTable incorrectly consumes Esc key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.4.0_01, 5.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: