[sword-svn] r110 - in trunk/app: . src/org/crosswire/flashcards
Apache
apache at www.crosswire.org
Wed Jan 31 09:28:21 MST 2007
Author:
Date: 2007-01-31 09:28:20 -0700 (Wed, 31 Jan 2007)
New Revision: 110
Modified:
trunk/app/Flash.jpx
trunk/app/src/org/crosswire/flashcards/ComplexLesson.java
trunk/app/src/org/crosswire/flashcards/LessonSetPane.java
Log:
Fixed grevious bug which only saved half the flashcards
Modified: trunk/app/Flash.jpx
===================================================================
--- trunk/app/Flash.jpx 2007-01-31 03:16:11 UTC (rev 109)
+++ trunk/app/Flash.jpx 2007-01-31 16:28:20 UTC (rev 110)
@@ -154,23 +154,16 @@
<property category="sys" name="VersionLabel" value="@version"/>
<property category="sys" name="WorkingDirectory" value="."/>
<property category="sys" name="palette.bean.chooser.beans" value="org.crosswire.modedit.UniTextEdit;"/>
-<node name="Flash" type="Archive">
+<node name="Flashcards" type="Archive">
<property category="archiving" name="archiverClass" value="com.borland.jbuilder.wizard.archive.ApplicationArchiver"/>
<property category="archiving" name="contentRules.1" value="I:**/*.*"/>
<property category="archiving" name="includeDeps" value="1"/>
<property category="archiving" name="libraryStates.1" value="2:../../../Documents and Settings/scribe/Application Data/Sun/Java/Deployment/javaws/cache/http/Dwww.crosswire.org/P80/DMflashcards/DMwebstart/RMlessons.jar"/>
<property category="archiving" name="manifestConfigFile" value="0"/>
<property category="archiving" name="obfuscator" value="RetroGuard for J2ME"/>
-<property category="archiving" name="targetPath" value="Flash.jar"/>
+<property category="archiving" name="targetPath" value="Flashcards.jar"/>
<property category="archiving" name="usingRules" value="1"/>
</node>
-<node name="FlashEditor" type="Archive">
-<property category="archiving" name="archiverClass" value="com.borland.jbuilder.wizard.archive.ApplicationArchiver"/>
-<property category="archiving" name="contentRules.1" value="I:**/*.*"/>
-<property category="archiving" name="manifestMainClass" value="org.crosswire.flashcards.Editor"/>
-<property category="archiving" name="targetPath" value="FlashEditor.jar"/>
-<property category="archiving" name="usingRules" value="1"/>
-</node>
<file path="../build.xml">
<property category="ant" name="displayrelativepath" value="0"/>
<property category="ant" name="loglevel" value="-debug"/>
Modified: trunk/app/src/org/crosswire/flashcards/ComplexLesson.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/ComplexLesson.java 2007-01-31 03:16:11 UTC (rev 109)
+++ trunk/app/src/org/crosswire/flashcards/ComplexLesson.java 2007-01-31 16:28:20 UTC (rev 110)
@@ -105,7 +105,6 @@
FlashCard flashCard = (FlashCard) getFlashcards().get(i);
lesson.setProperty("word" + i, flashCard.getFront());
lesson.setProperty("answers" + i, flashCard.getBack());
- i++;
}
lesson.setProperty("wordCount", Integer.toString(i));
Modified: trunk/app/src/org/crosswire/flashcards/LessonSetPane.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/LessonSetPane.java 2007-01-31 03:16:11 UTC (rev 109)
+++ trunk/app/src/org/crosswire/flashcards/LessonSetPane.java 2007-01-31 16:28:20 UTC (rev 110)
@@ -23,7 +23,6 @@
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
-import java.util.Iterator;
import javax.swing.BorderFactory;
import javax.swing.DefaultListModel;
More information about the sword-cvs
mailing list