<Swing Dev> [10] JDK-8058785: Nimbus disabled tooltip needs border

Sergey Bylokhov sergey.bylokhov at oracle.com
Thu Jul 27 16:23:25 UTC 2017


Hi, Shashi. 
I assume that other components like menu items have the same border, right?(size and color). 

----- shashidhara.veerabhadraiah at oracle.com wrote: 
> 
> 
> 

Hi All, Please review a fix for the JDK-8058785 where the disabled tooltip does not draws the border and blends into the disabled button and looks bad. Below is the picture of current JDK output without the fix. 









Solution and fix: I have updated the skin.laf file to draw a border for the disabled tool tip indicator. Below is the pic after the fix. 



Update to skin.laf XML file would auto generate these files(along with other files): 

./build/windows-x86_64-normal-server-fastdebug/support/gensrc/java.desktop/javax/swing/plaf/nimbus/NimbusDefaults.java 

./build/windows-x86_64-normal-server-fastdebug/support/gensrc/java.desktop/javax/swing/plaf/nimbus/ToolTipPainter.java. 







Bug: https://bugs.openjdk.java.net/browse/JDK-8058785 

Webrev: http://cr.openjdk.java.net/~pkbalakr/shashi/8058785/webrev.00/ 



Thanks and regards, 

Shashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170727/851892ac/attachment.html>


More information about the swing-dev mailing list