Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 9, 10, 11, 13, 14, 15
-
Fix Version/s: 17
-
Component/s: client-libs
-
Subcomponent:
-
Resolved In Build:b25
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?
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
- csr for
-
JDK-8188238 Access to Windows Large Icons
-
- Closed
-
- duplicates
-
JDK-8156183 Alternative needed in Java 9 for getting large file icon
-
- Closed
-
- relates to
-
JDK-8182041 File Chooser Shortcut Panel folders under on JDK 9
-
- Resolved
-
-
JDK-8212226 SurfaceManager throws "Invalid Image variant" for MultiResolutionImage (Windows)
-
- Resolved
-
-
JDK-8277299 STACK_OVERFLOW in Java_sun_awt_shell_Win32ShellFolder2_getIconBits
-
- Resolved
-
-
JDK-8081722 Provide public access to sun.awt.shell.ShellFolder methods which are required for implementing javax.swing.JFileChooser
-
- Resolved
-
(1 relates to, 3 links to)