API addition proposal -- Add Action enum and methods to javafx.application.Application

David Kopp codebangusllc at gmail.com
Wed Oct 23 17:22:56 UTC 2024


That is a good question. I need to look into what Ubuntu does in that regard.

I only really looked at the SDK code for the MacApplication.

I think it would be helpful for someone to create a bug tracker issue so we could create a branch to start working on various approaches.


> On Oct 23, 2024, at 11:44 AM, Michael Strauß <michaelstrau2 at gmail.com> wrote:
> 
> I think we don't need separate ConditionalFeatures, because an
> application that supports one type of app menu item will support all
> of them. Maybe something like ConditionalFeature.APPLICATION_MENU will
> suffice.
> 
> In addition to that, I've looked at several other applications, and
> most of them have custom menu items in their app menu. This leads me
> to question the API of your proposed feature. Maybe we should allow
> developers to add any kind of menu item to the app menu, instead of
> hard-coding two particular items?



More information about the openjfx-dev mailing list