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

The example for SystemTry is incorrect

XMLWordPrintable

    • b04
    • generic, x86
    • generic, linux
    • Not verified

      In the specification for the java.awt.SystemTry class an exapmle is given.

      There is a typ0

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

      The Tollkit class does not have getDefaultToolkit field.

      This should confuse a newcomer.

            denis Denis Fokin (Inactive)
            denis Denis Fokin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: