RFR: 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
Tejesh R
duke at openjdk.java.net
Mon May 2 03:10:14 UTC 2022
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.
-------------
Commit messages:
- Feature moved to ToolTipUI and updated MetalToolTipUI Accordingly
- Merge branch 'openjdk:master' into branch_8233477
- 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
- Revert "8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF"
- 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
- 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
- 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
- 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
- 8233477: [Win LAF]The tooltip doesn't display correctly in Win LAF
- 8236987: Remove call to System.out.println from ImageIcon.loadImage
- ... and 3 more: https://git.openjdk.java.net/jdk/compare/a7716006...7c46bba4
Changes: https://git.openjdk.java.net/jdk/pull/8496/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8496&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8233477
Stats: 361 lines in 5 files changed: 272 ins; 76 del; 13 mod
Patch: https://git.openjdk.java.net/jdk/pull/8496.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8496/head:pull/8496
PR: https://git.openjdk.java.net/jdk/pull/8496
More information about the client-libs-dev
mailing list