Code Comments
Programming Forum and web based access to our favorite programming groups.Hi Karel, I think its important to differentiate between the JHotDraw framework, and = the JHotDraw sample programs. The recommended way to use the JHotDraw framework, is to include its source= code into the classpath, and let javac=20 figure out the dependency between the classes of your project and the JHotD= raw classes. The only things you need to=20 care about, is to copy the language and icon resources using your build scr= ipt.=20 btw. There are no hardcoded paths in JHotDraw. The paths to the artwork is = stored in the resource bundles. I do not recommend using the JHotDraw framework as a library for the follow= ing reasons: 1. JHotDraw is a framework - for every release of JHotDraw you will likely = need to do changes in code which depends=20 on the structure and behavior of the framework.=20 =20 2. The JHotDraw project contains lots of sample programs and various defaul= t implementations - to improve=20 performance, we want to keep Applets as small as possible. On the other hand, you are welcome to use the JHotDraw SVG and ODG samples = as components. For example, if you would=20 like to include a full-fledged SVG editor into one of your applications, we= can add a build script to JHotDraw=20 projects, which generates a .jar library file with the SVG editor as a Java= Beans component in it. (The other sample programs Draw, Net, Pert, Teddy and the mini samples are = feature demonstrations of the framework.=20 Maybe I should use better package names to make the intent of all these sam= ples clear.) I hope this clears things up, Werner ----Urspr=C3=BCngliche Nachricht---- Von: karel-bL4mjbPYrh88DIzsMy5ZsQ@public.gmane.org Datum: 12.06.2008 16:24 An: <rawcoder-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Betreff: Re: [daisy] Sketch Editor Hi. Can I invite you to join the discussion going on at the daisy mailing list (daisy-81qHHgoATdGcMQoVcdA18UB+6BGkLq7r@public.gmane.org) (See thread below) Introduction: Michael Haenni used JHotdraw to create an applet that we would like to incorporate in Daisy. Everything works well, but we areabout why JHotdraw does not have a release management solution for people who want to use JHotdraw as a library. The main argument I have found so far (the artwork with hardcoded(?)) paths included in JHotdraw), but I am sure there must be more fundamental reasons. Regards, Karel ________________________________________ _______ daisy community mailing list Professional Daisy support: http://outerthought.org/en/services...rt.html mail to: daisy-81qHHgoATdGcMQoVcdA18UB+6BGkLq7r@public.gmane.org list information: http://lists.cocoondev.org/mailman/listinfo/daisy
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.