So I am trying to get inputs from my code, which then creates a polygon with Input for sides, lengh,ID and color. I have created the main part in which the input is gained From a panel button. The ID system might work, however I couldnot check if it works because of the main problem, actually drawing the polygon.
For Some reason I cannot seem to create an actual polygon at all, let alone based on the inputs. So im just looking for a bit of help with this. The drawn polygon should look like the figure below where I have labelled how
each of the attributes relate to it.
I also use intelliJ for my coding.
attached is code files as there is more files in use