RFR: 6788481: CellEditorListener.editingCanceled is never called [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Nov 21 13:48:46 UTC 2022


> When editing of a table cell is canceled, the function editingCanceled of the registered listener CellEditorListener is not called as actionPerformed on ESC key press was not notifying the "cancel" listeners.
> Fix is to handle "Cancel" action in actionPerformed() by forwarding the Cancel message from CellEditor to the delegate so that it can call `AbstractCellEditor.fireEditingCanceled(`) which notifies all listeners of cancel event.

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Updated test to test all installed L&F

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/10964/files
  - new: https://git.openjdk.org/jdk/pull/10964/files/02c8fc00..3efbfa7b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10964&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10964&range=00-01

  Stats: 22 lines in 1 file changed: 21 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10964.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10964/head:pull/10964

PR: https://git.openjdk.org/jdk/pull/10964



More information about the client-libs-dev mailing list