Rendering wireframe shapes in Java