2007-04-24 14:16:50 UTC
> However, I only see an empty JFrame.
Double click to add points.
> Also, I would like to know where is the code responsible to
> draw a Bezier curve?
The BezierCurve.java file has the mathematical equations to generate the points.
The BinaryCurveApproximationAlgorithm.java file samples a finite set of points on the curve (from the infinite set of points possible).
As for drawing, a MultiPath object is used to collect the sampled points. You can either draw the line segments yourself, or collect the points using the ShapeMultiPath.
There is a simple example in the readme.txt file.