[jsword-devel] FlashCard changes

Troy A. Griffitts scribe at crosswire.org
Sun Sep 19 15:32:08 MST 2004


DM,
	Is there anything we can do about not trying to build it for the 
majority of users.  My only thought is that most people, like me, will 
just check out the source, and type 'ant', and we shouldn't be giving 
them the compile error.

DM Smith wrote:
> The quick and dirty ImportLesson uses IBM's icu4j. I did not check that 
> in. It is not needed for anything else. If you were to delete 
> ImportLesson from you installation, you can go forward.
> 
> The reason I needed it (or something like it) was that the file of 1100 
> greek terms and their definitions was in normalized unicode. The font 
> used by FlashCards and the form of all the other lessons was 
> denormalized unicode. I used it to denormalize the output. It was easier 
> than finding a font that had all the normalized forms and figuring out 
> how to get user's to use it. And figuring out the licensing problems, ....
> 
> 
> Troy A. Griffitts wrote:
> 
>> DM,
>>     I'm excited and frightened at the same time. :)
>>
>>     Can't build, missing:
>>
>>     com.ibm.icu.text.Normalizer;
>>
>>     ???
>>
>> DM Smith wrote:
>>
>>> I am about to check in some changes. If they are not acceptable then 
>>> please revert to revision 46 (assuming there are no other commits in 
>>> the meantime.)
>>>
>>> Here is an overview:
>>>
>>>     * Moved the "flip" checkbox to the setup tab.
>>>     * Made the setup tab first.
>>>     * Added another tab to allow the editing of lesson sets, lessons and
>>>       flash cards.
>>>     * Changed the layout of the "Test" screen.
>>>
>>> I left the "File -> Edit" as an alternative, but will remove it if my 
>>> changes are acceptable.
>>>
>>> Basic reasoning behind the changes.
>>> Moving the setup tab: Tabs should be ordered in task flow order.
>>> Test tab layout. Two columns prevents truncation. Stretching the 
>>> window does not change the spacing the choices.
>>> Edit tab: This could have easily been a separate dialog, but I 
>>> thought it made the look more uniform.
>>>
>>> The Edit tab has three lists:
>>> Lesson Sets
>>>     lists all the lesson sets
>>>     allows for the addition of new ones
>>>     allows for the selection of a single lesson set
>>> Lessons
>>>     tied to the single selection of a Lesson Set.
>>>     lists all the lessons in a lesson set
>>>     allows for the addition of a new lesson
>>>     allows for the selection a single lesson
>>> Flash Cards
>>>     tied to the single selection of a Lesson
>>>     lists all the flash cards in a lesson set
>>>     presented as a two column table
>>>     clicking on a column name will cause the words in that column to 
>>> be sorted (uses string compare so it may not be correct for all 
>>> languages)
>>>     allows for the addition of flash cards via a "Flash Card Edit" 
>>> dialog.
>>>     allows for the deletion of flash cards
>>> Save button
>>>     becomes active when a Lesson Set or lesson has been added or a 
>>> Flash Card has been modified or deleted
>>>     Save will save the lesson to ~/.flashcards/lessons/xxx/yyy/zzz.flash
>>> Flash Card Edit:
>>>     Allows the editing of the front and back of the Flash Card.
>>>     Allows for the adding many cards in a row (Add button) or the 
>>> addition of one (OK button).
>>>     Checks to make sure that the card has both a front and a back and 
>>> that it is different from another Flash Card.
>>>
>>> Differences between this and the former editor: (The first two were 
>>> the primary motivation in doing the change)
>>> Allows for editing lessons held in the jar file and saving the 
>>> changes locally.
>>> Creates lessons in a known location so that the program can find it 
>>> upon startup.
>>> Allows for the creation of Lesson Sets. While this could be done 
>>> previously, it was not obvious as it was implicit in the file naming.
>>> Simplifies the creation of Lessons in that the filename is managed 
>>> internally by the program. The user only needs to describe the Lesson.
>>> Allows for the studying of vocabulary before testing (via the Flash 
>>> Card listing on the Edit tab).
>>>
>>> In making these changes I did not bring the following forward:
>>> Storing of the name of the file in the lesson.
>>> Choosing, loading and using a font for a lesson. This was saving a 
>>> local path to the font that could not be used by others on other 
>>> machines.
>>> Does not allow for the insertion of a new lesson in the middle of a 
>>> Lesson Set. It appends it to the end.
>>> JBuilder X GUI builder compatibility. It might work, but I don't know.
>>> Modify is done by delete and add.
>>>
>>> What it does not do that would be reasonable additions:
>>> Allow the reordering of lessons in a lesson set.
>>> Allow giving a lesson set a descriptive name (currently it uses the 
>>> directory name)
>>> Allow for modifying a FlashCard.
>>> Add keyboard shortcuts to each of the check boxes on the Test tab so 
>>> that the user does not have to use a mouse.
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>
>>
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel



More information about the jsword-devel mailing list