private void readObject ( ObjectInputStream s ) throws IOException , ClassNotFoundException { double x = s . readDouble ( ) ; double y = s . readDouble ( ) ; double w = s . readDouble ( ) ; double h = s . readDouble ( ) ; setRect ( x , y , w , h ) ; }
Read the object from the input stream of the serialized object