RFR: 8233477: : [Win LAF]The tooltip doesn't display correctly in Win LAF

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Jun 1 05:12:32 UTC 2022


On Tue, 31 May 2022 08:14:14 GMT, Tejesh R <duke at openjdk.java.net> wrote:

> The tooltip displays accelerated string along with the toooltip string. The feature is implemented and applicable for Metal Look and Feel only. Hence the test is updated for Metal Look and Feel by hard wiring it in the code. Updated the test from manual to automatic.

Changes requested by psadhukhan (Reviewer).

test/jdk/javax/swing/JToolTip/bug5047379.java line 54:

> 52: 
> 53: public class bug5047379 {
> 54:     static volatile boolean isTooltipAdded;

This is only set but never checked anywhere.. if it's not needed, it needs to be removed..

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

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



More information about the client-libs-dev mailing list