swing/src/net/sf/xframe/swing JXTable.java,1.14,1.15
Kurt Riede <[email protected]> Tue, 10 May 2005 07:29:52 +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-serv23497/src/net/sf/xframe/swing
Modified Files:
JXTable.java
Log Message:
fixed bug in method columnAtPoint (wrong calculation of x/y coordinates)
Index: JXTable.java
===================================================================
RCS file: /cvsroot/xframe/swing/src/net/sf/xframe/swing/JXTable.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** JXTable.java 10 May 2005 07:20:40 -0000 1.14
--- JXTable.java 10 May 2005 07:29:49 -0000 1.15
***************
*** 2559,2563 ****
return lockedTable.columnAtPoint(point);
} else {
! Point p = new Point(point.x, point.y - lockedWidth);
return frozenColumns + scrollTable.columnAtPoint(p);
}
--- 2559,2563 ----
return lockedTable.columnAtPoint(point);
} else {
! Point p = new Point(point.x - lockedWidth, point.y);
return frozenColumns + scrollTable.columnAtPoint(p);
}
***************
*** 2741,2744 ****
--- 2741,2746 ----
}
+
+
/**
* Adds the specified mouse listener to receive mouse events from this
-------------------------------------------------------
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=7393&alloc_id=16281&op=click