So i'm trying to make it so my program can write shapes to a file. of course, shapes aren't serializable, so I have to include and overridden writeObject() method to write the shae to the file. The code below isn't working, but i dont know why. Please help...
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeDouble(ellipse.width);
out.writeDouble(ellipse.height);
}
IronChef -
http://www.freewebs.com/cool_recipes