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

JTable incorrectly consumes Esc key

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0_01, 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic, solaris_8

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: