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

Errors in a swing example, PasswordStore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6
    • docs
    • None
    • b132
    • generic
    • generic
    • Verified

      A swing demo source code available at http://java.sun.com/docs/books/tutorial/ui/overview/PasswordStore-1.0-src.zip
      or at http://java.sun.com/docs/books/tutorial/ui/overview/demo.html
      contains a few Javadoc errors and one error in the code:

              public FilterUndo(ExtendedUndoManager unodManager, String filterString) {
                  super(undoManager);
                  this.filterString = filterString;
                  subsumeNextSelection = true;
              }

      The first parameter in the method should be "undoManager".

      I've attached fixed sources of the whole example. Please, review my changes and updated the code on the site if they are correct

            skannan Sowmya Kannan (Inactive)
            rmakarch Roman Makarchuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: