RFR: 8359108: Mac - When Swing starts First, native application menu doesn't work for JavaFX [v9]
Pabulaner IV
duke at openjdk.org
Thu Jan 8 10:54:06 UTC 2026
On Wed, 7 Jan 2026 22:40:14 GMT, Martin Fox <mfox at openjdk.org> wrote:
>> tests/manual/systemmenu/README.md line 3:
>>
>>> 1: # Compiling and Running
>>> 2:
>>> 3: To compile the tests, run the following command:
>>
>> Actually, separate compile step is not necessary, the test apps run with the following command from within this directory (you do need to run the gradle build first):
>>
>>
>> java --module-path ../../../build/sdk/lib/ --add-modules javafx.controls,javafx.fxml,javafx.swing MacOSSystemMenuJFXPanelSwingFirstTest.java
>
> Even easier:
>
> `java @../../../build/run.args MacOSSystemMenuMultiWindowTest.java `
Thanks, very nice and clean solution!
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1904#discussion_r2671849169
More information about the openjfx-dev
mailing list