[sword-cvs] r48 - in trunk: . app app/src/org/crosswire/common/util app/src/org/crosswire/flashcards

Apache apache at crosswire.org
Sun Sep 19 15:57:32 MST 2004


Author: 
Date: 2004-09-19 15:57:31 -0700 (Sun, 19 Sep 2004)
New Revision: 48

Added:
   trunk/Makefile
Modified:
   trunk/app/Flash.jpx.local
   trunk/app/src/org/crosswire/common/util/TabbedFileReader.java
   trunk/app/src/org/crosswire/flashcards/LessonSet.java
   trunk/app/src/org/crosswire/flashcards/QuizPane.java
Log:
Fixed wrong path to include 'util'
Removed toLower() on dir path which fails on case sensitive fs
Added some space between word and choices


Added: trunk/Makefile
===================================================================
--- trunk/Makefile	2004-09-19 17:42:28 UTC (rev 47)
+++ trunk/Makefile	2004-09-19 22:57:31 UTC (rev 48)
@@ -0,0 +1,5 @@
+all:
+	ant -emacs
+
+clean:
+	ant clean

Modified: trunk/app/Flash.jpx.local
===================================================================
--- trunk/app/Flash.jpx.local	2004-09-19 17:42:28 UTC (rev 47)
+++ trunk/app/Flash.jpx.local	2004-09-19 22:57:31 UTC (rev 48)
@@ -5,13 +5,14 @@
 classFilter.unittest.3[0]=com.borland.jbuilder.unittest.JBTestRunner
 classFilter.unittest.4[0]=sun.reflect.NativeMethodAccessorImpl
 classFilter.unittest.5[0]=sun.reflect.DelegatingMethodAccessorImpl
-content.layout.xml.[0]=<?xml version="1.0" encoding="UTF-8"?>`n<project-layout>`n  <tab_container selected_index="0">`n    <tab node_name="src/org/crosswire/flashcards/MainFrame.java"/>`n  </tab_container>`n</project-layout>`n
+content.layout.xml.[0]=<?xml version="1.0" encoding="UTF-8"?>`n<project-layout>`n  <tab_container selected_index="1">`n    <tab node_name="src/org/crosswire/flashcards/MainFrame.java"/>`n    <tab node_name="src/org/crosswire/flashcards/QuizPane.java"/>`n  </tab_container>`n</project-layout>`n
 debug.NoTracingClasses.1[0]=16 java.lang.Object1  1 -1
 debug.NoTracingClasses.2[0]=21 java.lang.ClassLoader1  1 -1
 debug.NoTracingClasses.3[0]=16 java.lang.String1  1 -1
 debug.SplitThreadsAndDataView[0]=0
-history.files.active[0]=src/org/crosswire/flashcards/MainFrame.java
+history.files.active[0]=src/org/crosswire/flashcards/QuizPane.java
 history.files.open.1[0]=src/org/crosswire/flashcards/MainFrame.java,F;1,0
+history.files.open.2[0]=src/org/crosswire/flashcards/QuizPane.java,F;1,0
 import.optimize.legacyPropertiesRead[0]=1
 java.classdefaults.1[0]=java.util.Enumeration
 java.classdefaults.2[0]=javax.swing.filechooser.FileFilter

Modified: trunk/app/src/org/crosswire/common/util/TabbedFileReader.java
===================================================================
--- trunk/app/src/org/crosswire/common/util/TabbedFileReader.java	2004-09-19 17:42:28 UTC (rev 47)
+++ trunk/app/src/org/crosswire/common/util/TabbedFileReader.java	2004-09-19 22:57:31 UTC (rev 48)
@@ -7,7 +7,7 @@
 import java.io.InputStreamReader;
 import java.net.URL;
 
-import org.crosswire.common.ResourceUtil;
+import org.crosswire.common.util.ResourceUtil;
 
 /**
  * A TabbedFileReader reads a file consisting of lines with
@@ -86,4 +86,4 @@
         in.close();
     }
 
-}
\ No newline at end of file
+}

Modified: trunk/app/src/org/crosswire/flashcards/LessonSet.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/LessonSet.java	2004-09-19 17:42:28 UTC (rev 47)
+++ trunk/app/src/org/crosswire/flashcards/LessonSet.java	2004-09-19 22:57:31 UTC (rev 48)
@@ -52,7 +52,7 @@
 {
     public LessonSet(String aDirname)
     {
-        dirname = aDirname.toLowerCase();
+        dirname = aDirname; // .toLowerCase();
         description = dirname.substring(dirname.indexOf('/') + 1);
         lessons = new TreeSet();
         load();
@@ -306,4 +306,4 @@
      * Flag indicating whether this lesson set has been <code>modified</code>
      */
     private boolean modified;
-}
\ No newline at end of file
+}

Modified: trunk/app/src/org/crosswire/flashcards/QuizPane.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/QuizPane.java	2004-09-19 17:42:28 UTC (rev 47)
+++ trunk/app/src/org/crosswire/flashcards/QuizPane.java	2004-09-19 22:57:31 UTC (rev 48)
@@ -162,7 +162,7 @@
         gbc.gridx = 0;
         gbc.anchor = GridBagConstraints.NORTH;
         Insets standardInsets = gbc.insets;
-        gbc.insets = new Insets(10,0,20,0);
+        gbc.insets = new Insets(30,0,70,0);
         add(wordText, gbc);
 
         gbc.weighty = 1.0;
@@ -442,4 +442,4 @@
     {
         adaptee.showAnswerButton_actionPerformed(e);
     }
-}
\ No newline at end of file
+}



More information about the sword-cvs mailing list