When I stumbled into this problem myself I started using GeoGebra. Here can you easily create a polygon and you can also have an image in the background on which you can draw upon.

To get the polygon into my java program I created a little Java program with a 15 step comment recipe in the start of the program. It might look very time consuming at first, but it takes only half a minute or so after doing it a couple of times.