Integrated: 6788481: CellEditorListener.editingCanceled is never called
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Nov 29 05:11:31 UTC 2022
On Thu, 3 Nov 2022 07:05:10 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 4e8e853b
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4e8e853bc9b9ac3a89a9e25b9fec5381b8255806
Stats: 135 lines in 2 files changed: 135 ins; 0 del; 0 mod
6788481: CellEditorListener.editingCanceled is never called
Reviewed-by: prr, azvegint, serb
-------------
PR: https://git.openjdk.org/jdk/pull/10964
More information about the client-libs-dev
mailing list