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

Stage Icons don't load on OSX

    XMLWordPrintable

    Details

      Description

      When using the following settings to set the icons for the application launch. They work on windows but not on OSX

      Image icon64 = new Image(getClass().getResource("flag-aud.png").toExternalForm());
      stage.getIcons().addAll(icon64);

      On OSX you just see the standard java icon.

        Attachments

        1. rt18254.patch
          3 kB
          Morris Meyer
        2. Screen Shot 2011-11-29 at 12.37.47.png
          22 kB
          CelerTechnologies

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              celertechjfx CelerTechnologies (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: