On Mon, 23 Mar 2026 17:38:55 GMT, Phil Race <[email protected]> wrote:
>> A proposal to add getSystemMnemonicKeyMask to SwingUtilities so as to make >> it publicly accessible from inner SwingUtilities2 class to allow custom L&F >> to set the own shortcut keys > > src/java.desktop/share/classes/javax/swing/SwingUtilities.java line 906: > >> 904: >> 905: /** >> 906: * Returns the system mnemonic key mask > > This javadoc could use a paragraph of explanation as to why anyone would want > to query this and how they can use it. > Neither of these is obvious to me. Maybe an example would help. > Also this requires an @since tag and a CSR The new test might be useful as well. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30366#discussion_r2983087202
