On Mon, 2 May 2022 02:56:01 GMT, Tejesh R <d...@openjdk.java.net> wrote:

> In Button ToolTip, Mnemonic key string was shown only in Metal Look and Feel, 
> since the feature is implemented in it. In other L&F especially Windows L&F 
> the feature is not available. In order to make it available for other L&F's, 
> the getAcceleratedString method and calculateAcceleratedStringSpace method is 
> Implemented in ToolTipUI class. These methods are used in BasicToolTipUI 
> class which uses the feature and shows/paints the ToolTip String along with 
> the set Mnemonic key. In similar way other L&F which doesn't Inherit 
> BasicToolTipUI can make use of the feature available in ToolTipUI.

This pull request has been closed without being integrated.

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

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

Reply via email to