public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
  x=in.readFloat();
  y=in.readFloat();
}

public void readExternal ( ObjectInput in ) throws IOException , ClassNotFoundException { x = in . readFloat ( ) ; y = in . readFloat ( ) ; }
used with serialization . not to be called manually .
