Error in demo code - a "( )" is missing!

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 6
    • Component/s: client-libs
    • x86
    • linux

      A DESCRIPTION OF THE PROBLEM :
      you have in your documentation:
      "Image image = Toolkit.getDefaultToolkit.getImage(...);"

      that ist wrong.
      A "( )" is missing!

      You should change this to:

      "Image image = Toolkit.getDefaultToolkit().getImage(...);"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Image image = Toolkit.getDefaultToolkit().getImage(...);
      ACTUAL -
      Image image = Toolkit.getDefaultToolkit.getImage(...);

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/javase/6/docs/api/java/awt/SystemTray.html

            Assignee:
            Unassigned
            Reporter:
            Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: