swing/src/net/sf/xframe/swing JXTable.java,1.15,1.16

Kurt Riede <[email protected]> Tue, 10 May 2005 07:37:15 +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-serv24911/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.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** JXTable.java	10 May 2005 07:29:49 -0000	1.15
--- JXTable.java	10 May 2005 07:37:13 -0000	1.16
***************
*** 2556,2560 ****
      public int columnAtPoint(final Point point) {
          int lockedWidth = lockedTable.getWidth();
!         if (point.y < lockedWidth) {
              return lockedTable.columnAtPoint(point);
          } else {
--- 2556,2560 ----
      public int columnAtPoint(final Point point) {
          int lockedWidth = lockedTable.getWidth();
!         if (point.x < lockedWidth) {
              return lockedTable.columnAtPoint(point);
          } else {



-------------------------------------------------------
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