quaqua
  1. quaqua
  2. QUAQUA-165

Unable to detect key events during TableCellEditor.isCellEditable(EventObject)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Java 7 update 10 on Mountain Lion

      Description

      If a user types a key while there is an editable cell selected the QuaquaTableUI.Handler calls the JTable.editCellAt() method that doesn't provide an EventObject. This means that when the JTable calls isCellEditable() on its editor it passes a null EventObject and the TableCellEditor is unable to decide based on the source event.

      Instead the QuaquaTableUI.Handler should call JTable.editCellAt(int row, int column, EventObject e) and pass on the KeyEvent.

      This is at about line 1025 in QuaquaTableUI.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            the_fire
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: