RFR: 8155030: The Menu Mnemonics are always displayed for GTK LAF [v8]
Abhishek Kumar
abhiscxk at openjdk.org
Wed Jun 26 08:43:14 UTC 2024
On Tue, 25 Jun 2024 15:11:31 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> I will check and update if it is possible.
>
> Thank you for looking into it. A `MnemonicHandler` class in `sun.swing` or `sun.swing.plaf` package could be a good candidate. The `sun.swing` package contains a lot of support classes for Swing, including `SwingUtilities2` and `UIAction`; the `sun.swing.plaf` may be better as the mnemonic handler is part of PLAF.
>
> Another option is the `com.sun.java.swing` package which currently contains `SwingUtilities3` and `plaf` subpackage with `gtk` and `motif` related classes.
I tried moving the `repaintMnemonicsInWindow` and `repaintMnemonicsInContainer` under `SwingUtilities` class but faced build issue while accessing them in `WindowsPopupMenuUI` file.
I will try with the suggested packages as you mentioned.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18992#discussion_r1654388577
More information about the client-libs-dev
mailing list