I have an application that has an JEditorPane area where I write text and draw basic shapes(circle, square). When saving the JEditorPane as an object to a file (after I typed some text)I have this error :
anyway if I paste some text and not typping it I can save the object along with the graphic (e.g. circle)
The problem is when I am loading back the object I can see just the text I saved and not the circle as well...
Why is that?