On Mon, 31 Aug 2026 23:02:50 GMT, Andy Goryachev <[email protected]> wrote:

> Added javadoc to `[Labeled,MenuItem].mnemonicParsing` property, taken from 
> the `MnemonicInfo` internal class.
> 
> A CSR may not be needed since it's a mere clarification and not an API 
> change, but I am not sure.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

modules/javafx.controls/src/main/java/javafx/scene/control/Labeled.java line 
832:

> 830:      * control will typically present the mnemonic surrounded by 
> parentheses.
> 831:      * The extended mnemonic might be hidden on certain platforms and 
> only displayed
> 832:      * then the mnemonic modifier key is pressed.

`then -> when` I think?

modules/javafx.controls/src/main/java/javafx/scene/control/MenuItem.java line 
444:

> 442:      * control will typically present the mnemonic surrounded by 
> parentheses.
> 443:      * The extended mnemonic might be hidden on certain platforms and 
> only displayed
> 444:      * then the mnemonic modifier key is pressed.

Ditto

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2287#discussion_r3921875774
PR Review Comment: https://git.openjdk.org/jfx/pull/2287#discussion_r3921880286

Reply via email to