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

Shashidhara Veerabhadraiah shashidhara.veerabhadraiah at oracle.com
Thu Jul 27 08:20:22 UTC 2017


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/3321d682/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 5378 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170727/3321d682/image002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 6374 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170727/3321d682/image004.jpg>


More information about the swing-dev mailing list