question: private void readObject ( ObjectInputStream ois ) throws IOException , ClassNotFoundException { try { ois . defaultReadObject ( ) ; initPlot ( ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } }
target:  Provide some necessary initialization after object has been deserialized.