[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/passage s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Wed Apr 6 16:35:58 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/passage
In directory www.crosswire.org:/tmp/cvs-serv4078/java/main/org/crosswire/bibledesktop/passage

Modified Files:
	KeyListListModel.java 
Log Message:
Fixed a bug in the reference pane and generally improved it.

Index: KeyListListModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/passage/KeyListListModel.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** KeyListListModel.java	6 Mar 2005 20:21:36 -0000	1.7
--- KeyListListModel.java	6 Apr 2005 23:35:56 -0000	1.8
***************
*** 45,49 ****
      public int getSize()
      {
!         return keys.getChildCount();
      }
  
--- 45,49 ----
      public int getSize()
      {
!         return keys != null ? keys.getChildCount() : 0;
      }
  
***************
*** 54,58 ****
      public Object getElementAt(int index)
      {
!         return keys.get(index);
      }
  
--- 54,58 ----
      public Object getElementAt(int index)
      {
!         return keys != null ? keys.get(index) : null;
      }
  



More information about the jsword-svn mailing list