<Swing Dev> RFR: 8182043: Access to Windows Large Icons [v10]

Alexander Zuev kizune at openjdk.java.net
Thu May 20 17:28:34 UTC 2021


On Thu, 20 May 2021 15:57:04 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This is to describe one of my questions above, is this instanceof+cast cannot be improved? Why we cannot always wrap the data in the MRI and if we have only one icon return the MRI with one resolution?

No because in specification we say that we do not guarantee the the icon returned will be MRI. We know how it works on Windows so we test it this way.

-------------

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


More information about the swing-dev mailing list