Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6607047

SwingWorker code sample typo

XMLWordPrintable

    • generic, x86, sparc
    • generic, solaris_10, windows_vista

      javax.swing.SwingWorker class has a code sample in the get() method description:
      ---
      class SwingWorkerCompletionWaiter extends PropertyChangeListener {
                                        ^^^^^^^
      ...
      ---

      In other words a class extends an interface. I suppose a class should implement an interface.

            serb Sergey Bylokhov
            ydanilev Yury Danilevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: