Class MSketch

All Implemented Interfaces:
Externalizable, Serializable

@PublicAPI public class MSketch extends Object implements Externalizable
Java independent serialization of the sketcher bean. Experimental!

The Swing and AWT ancestor classes of MSketchPane (like JComponent) have different serialVersionUID values in different Java versions, thus its simple serialization and deserialization with another Java version may not work. The workaround is to serialize class MSketch instead, which only extends Object and has a fixed serialVersionUID.

Marvin 3.5, 11/02/2004
See Also:
  • Constructor Details

    • MSketch

      public MSketch()
      Constructor used for deserialization.
    • MSketch

      public MSketch(MSketchPane p)
      Constructor used for serialization.
      p - the sketcher bean to serialize
  • Method Details