First, I decide to review our "two-dimensional graphics framework" library. Currently, we are using JHotDraw. After several consideration, "stability", "requirement", "compatibility", we decide to stay on JHotDraw.
I foresee that we will be required to work on JHotDraw source code, either understand it or expanding from it. Hence, grabbing out the right JHotDraw source code is another big task.
Our previous JHotDraw version is 7. However, I have a hard time to figure out the minor version of current deployed JHotDraw. After some try and error, I decide to give up figuring out current JHotDraw minor version.
I decide to first port over JStock source code, to make use of latest JHotDraw 7.1. The latest stable version of JHotDraw 7.1 is released since 2008-03-25.
After building JHotDraw 7.1 together with quaqua.jar, java_30.zip and MRJAdapter, we obtain a hot baked JHotDraw 7.1. When run it together with JStock 1.0.4b, opps...
[yancheng@yancheng jstock]$ java -jar jstock.jar
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.yccheok.jstock.gui.OperatorFigure.add(Lorg/jhotdraw/draw/Figure;)V
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Look like we have some work to be done :)