<AWT Dev> RFR: 8182043: Access to Windows Large Icons [v7]

Alexander Zuev kizune at openjdk.java.net
Fri May 21 06:34:43 UTC 2021

On Fri, 21 May 2021 05:42:46 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> It is accessible from the "JFileChooser" drop-down menu. On my system, the Libraries at that drop down menu contain "GIT", "Documents", "Music". https://docs.microsoft.com/en-us/windows/client-management/windows-libraries
> There are also "known folders" such as "Network" or "My computer" which do not have a real path but can be navigated in the JFileChooser and has an icon.

Ok, got it. Well, since they can be translated into the file system paths - even if these paths do not belong to physical filesystem - they are supported by the new API. Not for all of them i am able to receive the high resolution icons - like "Recent Items" for some reason only provides 32x32 and 16x16 no matter what size i am asking for. Others such as Documents, My Computer or 3D Objects do provide all resolutions available. For example here's the screenshot of all the available icons for 3D Objects 


PR: https://git.openjdk.java.net/jdk/pull/2875

More information about the awt-dev mailing list