On Tue, 25 Jun 2024 15:11:31 GMT, Alexey Ivanov <aiva...@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