Point2D is not [FIXED]

[s]If you try to send it over a object stream, a new Point2D is created where x and y are 0.

Outside of not serializing it, the only other solution is extends the class and make it serializable.
^ This doesn’t work either.

I found about this at the following link:

Nvm. I fixed the issue. Point2D.Double is serializable.
The issue was that my object was not changing because I was not reseting my stream. Took 2-3 hours to find that out. x.X