swing/src/net/sf/xframe/swing JXTable.java,1.21,1.22

I?aqui Medina <[email protected]> Wed, 25 May 2005 23:27:37 +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-serv3166/src/net/sf/xframe/swing

Modified Files:
	JXTable.java 
Log Message:
getSelectedColumns may work better with this fix :)

Index: JXTable.java
===================================================================
RCS file: /cvsroot/xframe/swing/src/net/sf/xframe/swing/JXTable.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** JXTable.java	20 May 2005 14:17:02 -0000	1.21
--- JXTable.java	25 May 2005 23:27:35 -0000	1.22
***************
*** 2558,2565 ****
              i3[i] = i1[i];
          }
!         for (int i = i1.length; i < i3.length; i++) {
!             i3[i] = i1[i] + frozenColumns;
          }
!         return null;
      }
  
--- 2558,2565 ----
              i3[i] = i1[i];
          }
!         for (int i = 0; i < i3.length; i++) {
!             i3[i + i1.length] = i3[i] + frozenColumns; 
          }
!         return i3;
      }
  



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click