Converted to Java2D.