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

Access to Windows Large Icons

XMLWordPrintable

    • b25

      karim.makhloufi 06/12/17 12:49 pm ***
      the API
      javax.swing.filechooser.FileSystemView.getFileSystemView().getSystemIcon(file)
       return a small 16x16 icon. In order to get a large 32x32 one, we are used to
      use the API
      sun.awt.shell.ShellFolder.getShellFolder(file).getIcon(getLargeIcon),
      Unfortunately, the sun package internal classes are not exposed anymore in
      Java-9.
      How can we get System large icons when our client is running on JRE 9. We
      need it especially to display Windows icons (Desktop, Computer, My Documents,
      Recent Files, etc). Any workaround to suggest?

            kizune Alexander Zuev
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: