[daisy] Sketch Editor JHotDraw

Michael Hänni michael.haenni at ergon.ch
Mon Jun 16 10:10:24 CEST 2008


On Friday I wrote to Werner Randelshofer from JHotDraw again to find a 
satisfying solution.

Here is a extract from his reply:

"Don't get me wrong. I don't mind at all, if the Daisy people want a 
separate .jar file which contains all class files of JHotDraw. And I am 
willing to deploy this .jar file with each release of JHotDraw.

I am just saying, that this is not the optimal solution for an applet. 

Please take a look at AnyWikiDraw. In this project, the source code of 
JHotDraw resides in a directory of its own - its not intermingling with 
source code of AnyWikiDraw. We use javac to automatically create a very 
small applet, which contains the compiled code of AnyWikiDraw and only 
those classes of JHotDraw, which are referenced by AnyWikiDraw.We never 
do changes in the source code of JHotDraw in the AnyWikiDraw project. If 
we want to upgrade to a newer version of JHotDraw, we just replace the 
whole directory of JHotDraw with a newer version and then run javac again."

So he would also agree to the solution with a separate .jar file and 
deploy such a .jar file with each release.
The other alternative he is suggesting seams mainly for performance gain 
reasons.

Can you live with any of these two solutions?


Regards,
Michael



More information about the daisy mailing list