tried to decouple the voronoi code from the java.apple.Applet stuff