classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: JTable editing ESCAPE key implemented


From: Anthony Balkissoon
Subject: [cp-patches] FYI: JTable editing ESCAPE key implemented
Date: Tue, 09 Aug 2005 15:49:37 -0400

This patch introduces ESCAPE key functionality to JTable editing - if
you are editing a cell and press escape editing is canceled (your
changes are discarded and focus goes back to the JTable).

Patch is attached.

Note: the JTable in the Swing Demo can show the new editing behavior.

2005-08-09  Anthony Balkissoon  <address@hidden>
        * javax/swing/JTable.java:
        (editingCancelled): Implemented.
        (editCellAt): Added a KeyListener to our editor to listen for
        the ESCAPE key and cancel editing upon receiving it.

-Tony

Attachment: JTableEditingEscape.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]