visualisation of a voronoi diagram written in Java using Swing components