eirikbakke opened a new pull request #998: [NETBEANS-1586] Make ImageUtilities.createDisabledIcon work with HiDPI icons URL: https://github.com/apache/incubator-netbeans/pull/998 After the introduction of the org.openide.util.VectorIcon class in https://github.com/apache/incubator-netbeans/pull/859 , ImageUtilities.createDisabledIcon should be updated to work with such resolution-independent icons, as well as ImageIcon instances that delegate to a MultiResolutionImage. This patch achieves that, without making assumptions about the specific Icon implementation. The new ImageUtilities.createDisabledIcon implementation was tested with both a VectorIcon and an ImageIcon, including with the latter delegating to a MultiResolutionImage, on OpenJDK 10.0.2 on Windows 10 with a HiDPI/non-HiDPI dual monitor setup. Also tested the VectorIcon case on MacOS with Retina and non-Retina configurations.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
