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

Code example in SystemTray javadoc must be updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • client-libs
    • None
    • b61
    • generic
    • generic

      SystemTray javadoc has some example of code of how to use the API. The problem is
      that SystemTray.add(TrayIcon) method was changed and now it may throw AWTException.
      This is a checked exception and so it must be caught. The example of code doesn't
      have an appropriate try-catch block and it can't be compiled.

            ant Anton Tarasov (Inactive)
            ant Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: