AWT is somewhat dead, will JavaFX survive?

Davide Perini perini.davide at dpsoftware.org
Mon Sep 30 21:17:21 UTC 2024


Hi,
thanks for your time, I appreciate the answer.

I love JavaFX and my concern is sincere.
JavaFX is not a "complete solution" to build UIs because it relies on 
AWT for basic and important features like a TrayIcon for example.

AWT is abandoned, most of its APIs is falling apart causing issues on 
modern OS.

That's why of my question. If AWT is abandoned, how can JavaFX survive this?
Does it has sense in developing JavaFX if Oracle abandoned AWT?

I know that JavaFX devs thinks that AWT and JavaFX are two separate 
things but for devs that must develop a software that has a UI,
JavaFX is not enough because JavaFX has "nearly no integration with the OS".

I mean, how can we convince new developers to jump on JavaFX if the 
"surroundings" are in this state?

Davide



On 28/09/2024 20:37, Johan Vos wrote:
> I got the question "Will JavaFX survive?" very often since I became 
> co-lead of the OpenJFX project, about 7 years ago. OpenJFX is a 
> technology project and contrary to most client frameworks OpenJFX 
> itself has no marketing department with "devrels" etc.
> The resources working on OpenJFX are focusing on the technology. And I 
> am very proud to see that the code you could write for JavaFX 9 is 
> still running today on JavaFX 23. I don't think many client 
> technologies can say the same.
> The diverse contributors to the OpenJFX project are doing a fantastic 
> job in maintaining and advancing the technology in the spirit of 
> OpenJDK and Java in general. Granted, I sometimes wish we (as in 
> OpenJFX) had some marketing efforts of paid devrels to spread the word 
> at many conferences. But as developers, our first priority and main 
> skills are in working on the code.
>
> - Johan
>
> On Sat, Sep 28, 2024 at 5:17 PM Davide Perini 
> <perini.davide at dpsoftware.org> wrote:
>
>     no answers, means a lot...
>
>     On 26/09/2024 17:44, Davide Perini wrote:
>     > As title.
>     > AWT is too old to withstand the future and probably it's too old to
>     > withstand the present.
>     >
>     > AWT is falling apart with old APIs breaking as operating systems
>     move on.
>     >
>     > Even very important features like tray icons and notifications are
>     > broken.
>     > Something is broken in Windows, something in Linux, something on
>     macOS.
>     >
>     > Current notification APIs is old and is somewhat broken in Windows
>     > with notification that doesn't stick in the notification center.
>     >
>     > SystemTray on Linux is completely broken because it still uses the
>     > ancient xembeds instead of the newer SNI.
>     >
>     > I love JavaFX but will JavaFX survive the fact that AWS is
>     abandoned
>     > and that it is falling apart?
>     >
>     > Is there something moving to renew AWT or it's just kicking a
>     dead horse?
>     >
>     > Thanks
>     > Davide
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-discuss/attachments/20240930/c258a95c/attachment.htm>


More information about the openjfx-discuss mailing list