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

Access to Windows Large Icons

    Details

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kizune Alexander Zuev
                Reporter:
                shadowbug Shadow Bug
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: