See Java Shapes Library in action. The following demo shows how Java Shapes Library can be used.
Please note that the sample code use the solid color for fill and strokes. You can use custom paints
such as Gradient Paint, Texture Paint etc., to fill and outline the shapes.
If you don't have Web start installed before, you can get it from
Sun's Website The demo is compiled
using JDK 1.6. That's why it runs only under JDK 1.6 and above.
Please note that the above files are for demo purpose only. If you wish to evaluate
the Java Shapes API, please download it from the
Please click on the following image to start Java Shapes Demo using Java Web Start.