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

David Kopp codebangusllc at gmail.com
Wed Oct 23 20:16:48 UTC 2024


Ok, thanks.

Have a blessed day.

> On Oct 23, 2024, at 12:54 PM, Michael Strauß <michaelstrau2 at gmail.com> wrote:
> 
> Don’t worry about the JBS ticket for now. You can create a branch on your own JFX fork and give it whatever name you want. If this proceeds, you’ll later create a PR from your personal branch to the JFX master branch, and we can get the JBS ticket sorted out then.
> 
> 
> David Kopp <codebangusllc at gmail.com <mailto:codebangusllc at gmail.com>> schrieb am Mi. 23. Okt. 2024 um 19:23:
>> 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 <mailto: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?
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20241023/af41bcb2/attachment.htm>


More information about the openjfx-dev mailing list