I'm making a paint application, and for the input of the shapes that were saved, I came across an issue.
You see, I am using a while loop to run through each line of a string saved by the program at an earlier time. I also have identifiers of what it is currently inputting. I had the program output the List of the shapes as what they are. Meaning, that each shape would output like java.awt.geom.Ellipse2D$Float@15990000
.
Now I need some sort of way to turn that String, back into a shape. Either that, or have some sort of way to save it as a shape, in an easier way, that would allow me to add it right back to the List
Any and all help would be welcomed.