Moving around Jtable with cursor key balnks out values
Paul Taylor
paul_t100 at fastmail.fm
Wed Oct 30 05:13:50 PDT 2013
With Java 7 on OSX I find that as I move around my JTable cells with cursor keys it causes it to blank out every field in goes into.
Adding:
table.putClientProperty("JTable.autoStartsEdit", Boolean.FALSE)
stops that issue happening, but then I have to press 'Enter' key to start editing.
What I want to happen is that cursor keys just move the cursor without editing, and pressing any other key will start editing in that field. i.e I move to a field and press 'd', then will be displayed in the field. This is what happened in Java 6 on OSX (Quaqua) and with Java 7 on Windows.
Paul
More information about the macosx-port-dev
mailing list