swing/src/net/sf/xframe/swing JXTable.java,1.20,1.21
I?aqui Medina <[email protected]> Fri, 20 May 2005 14:17:05 +0000
| Newsgroups | gmane.text.xml.xframe.xsddoc.devel |
|---|---|
| Message-ID | <[email protected]> |
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();
}
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click