N
nomail_please
I have a JTable that's been used to display data only, with no cell
editing enabled. I need to capture the escape key to bind it to an
action (e.g., close dialog) but can't get it when the JTable has focus.
Keep in mind that the escape key is used by JTable to cancel editing
when in edit mode. I'm having a terrible time trying to undo that
default behavior.
Any ideas?
Thanks.
editing enabled. I need to capture the escape key to bind it to an
action (e.g., close dialog) but can't get it when the JTable has focus.
Keep in mind that the escape key is used by JTable to cancel editing
when in edit mode. I'm having a terrible time trying to undo that
default behavior.
Any ideas?
Thanks.