Hello.
Please review a fix for jdk 9.
When we paint some image on component we use this component as an observer, which will be called when the image should be repainted(in case of animated gif for example). But our code in the AbstractButton.imageUpdate() will replace correct Icon to null if button is pressed, disabled, etc(if such icon was not set of course). After the fix we will use default icon only if more specific image was not found.

Bug: https://bugs.openjdk.java.net/browse/JDK-6573305
Webrev can be found at: http://cr.openjdk.java.net/~serb/6573305/webrev.00

--
Best regards, Sergey.

Reply via email to