ScrollPane is not serializable ScrollPane is not serializable

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: client-libs
    • sparc
    • solaris_2.6

      Detailed Description:
        Try this.
      ---------
      import java.awt.*;
      import java.awt.event.*;
      import java.io.*;

      public class test {
        public static void main(String args[]) throws IOException {
          ObjectOutputStream oos = new ObjectOutputStream(
            new ByteArrayOutputStream());
          ScrollPane sp = new ScrollPane();
          sp.getHAdjustable().addAdjustmentListener(new AdjustmentListener() {
            public void adjustmentValueChanged(AdjustmentEvent ev) {}
          }); // this is key
          oos.writeObject(sp);
        }
      }

            Assignee:
            Xianfa Deng (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: