More java.awt.geom, more JFreeChart

Cleaned up my ugly hacks, Graydon Hoare explained which asserts were real and which were bogus, Michael Koch created a real patch for TextArea and I added the latest java.awt.geom work from Sven de Marothy to the gcj gui branch. A nice screen shot of a Pie chart, Meter chart, Compass plot and a Wafermap chart show that much more of JFreeChart is now working. It is still very slow and not all charts show up correctly, but it is a very nice start.

To play with this you have to follow the instructions of Thomas Fitzsimmons on Creating a GCJ-based Java GUI development environment with JHBuild which will give you a gcj gui branch build with the latest cairo Graphics2D support. Then you can just download JFreeChart and run the demo with gij -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D -classpath jfreechart-0.9.20-demo.jar:jfreechart-0.9.20.jar:lib/jcommon-0.9.5.jar org.jfree.chart.demo.JFreeChartDemo

Now back to my real work, preparing a new GNU Classpath snapshot, which will hopefully contain much of the above new stuff.