From: Iñaqui M. <ina...@us...> - 2005-05-20 14:17:12
|
Update of /cvsroot/xframe/swing/src/net/sf/xframe/swing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8305/src/net/sf/xframe/swing Modified Files: JXTable.java Log Message: Fix for bugs 1205676 and 1205679 Index: JXTable.java =================================================================== RCS file: /cvsroot/xframe/swing/src/net/sf/xframe/swing/JXTable.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** JXTable.java 19 May 2005 00:09:35 -0000 1.20 --- JXTable.java 20 May 2005 14:17:02 -0000 1.21 *************** *** 751,757 **** if (lockedTable.hasFocus()) { return lockedTable.getEditingColumn(); - } else { - return scrollTable.getEditingColumn() - frozenColumns; } } --- 751,757 ---- if (lockedTable.hasFocus()) { return lockedTable.getEditingColumn(); } + + return scrollTable.getEditingColumn() + frozenColumns; } *************** *** 764,768 **** */ public int getEditingRow() { ! return lockedTable.getEditingRow(); } --- 764,772 ---- */ public int getEditingRow() { ! if (lockedTable.hasFocus()) { ! return lockedTable.getEditingRow(); ! } ! ! return scrollTable.getEditingRow(); } |