I've been trying to use createGraphics() to generate 2D DXF output and ran into some file truncation problems. It looks and smells like a bug so I filed
Bug ID 359
None of the searches I've done have turned up anything similar, but it looks like it could be some sort of silly OS-level buffer/caching mechanism getting in the way of full file write operations.
Can anyone think of a work-around, perhaps some Java JRE mechanism to flush all buffers? My simple example is here:
DXFTest.pde