<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Kevin,<br>
I'm the submitter of the following bug reports:<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8341144">https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8341144</a><br>
<a class="moz-txt-link-freetext" href="https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8310352">https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8310352</a><br>
<a class="moz-txt-link-freetext" href="https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8323821">https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8323821</a><br>
<a class="moz-txt-link-freetext" href="https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8341173">https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8341173</a><br>
<a class="moz-txt-link-freetext" href="https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8323977">https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8323977</a><br>
<br>
These issues arose during the development of a toy application.<br>
<br>
Specifically, regarding the tray icon functionality, GNOME can't fix
issues that require changes to the underlying AWT libraries.<br>
<br>
Linux has switched its focus to SNI and many distributions are
dropping support for legacy xembed protocols.<br>
<br>
As previously mentioned, while JavaFX is a powerful framework, it
still relies on Swing/AWT for certain functionalities to create
full-fledged desktop applications. However, the development of
Swing/AWT seems to have stagnated.<br>
<br>
If the plan is not to invest further in Swing/AWT development, then
perhaps a clearer communication strategy is needed. It would be
beneficial for developers to know if Swing/AWT is no longer the
recommended path for desktop applications, and if so, what
alternative approaches are suggested.<br>
<br>
Furthermore, AWT is still relying on outdated Windows 98 APIs for
notifications. This approach is problematic considering the recent
changes introduced in Windows 11 that have broken OS notifications
within Java applications.<br>
<br>
Notifications are a crucial aspect of many applications, and even
web apps are increasingly leveraging native OS notifications for a
better user experience.<br>
<br>
The core issue here isn't with JavaFX itself; rather, it's the fact
that JavaFX alone isn't sufficient to develop full-fledged apps that
need to interact with the operating system for functionalities like
tray icons and notifications.<br>
<br>
I am a big fan of JavaFX. It's a user-friendly and productive
framework for UI development. However, my experience highlights the
limitations of using JavaFX for applications requiring deeper
interaction with the underlying operating system.<br>
<br>
Is there any movement to address these shortcomings?<br>
Could JavaFX potentially take over the responsibilities of AWT and
Swing, providing a more unified and up-to-date API for these
features?<br>
Additionally, are there plans to update AWT and Swing to replace
outdated APIs that are over 25 years old?<br>
<br>
Kind regards,<br>
Davide<br>
<br>
<div class="moz-cite-prefix">On 01/10/2024 01:24, Philip Race wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5c2d835a-d6c7-4a67-9bc0-efb13e37fb88@oracle.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<div class="moz-cite-prefix">On 9/30/24 3:33 PM, Kevin Rushforth
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cd8ff53d-ffde-4fb2-8710-2fc1c378008f@oracle.com">
Swing / AWT is still being actively maintained and isn't
"abandoned". What you are describing are bugs. Have you filed
them?<br>
</blockquote>
<br>
Perhaps Davide is the submitter for this TrayIcon bug submitted 2
days ago<br>
<a class="moz-txt-link-freetext"
href="https://bugs.openjdk.org/browse/JDK-8341144"
moz-do-not-send="true">https://bugs.openjdk.org/browse/JDK-8341144</a><br>
<br>
FWIW TrayIcon recently suffered from a regression bug in the Linux
desktop<br>
Gnome have now fixed it so it should be OK if you are on the
latest distros.<br>
<a class="moz-txt-link-freetext"
href="https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/2127c62b210f605747e019e6e2abee82516e3ccb/NEWS#L152"
moz-do-not-send="true">https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/2127c62b210f605747e019e6e2abee82516e3ccb/NEWS#L152</a><br>
Corresponding JDK bug : <a class="moz-txt-link-freetext"
href="https://bugs.openjdk.org/browse/JDK-8322750"
moz-do-not-send="true">https://bugs.openjdk.org/browse/JDK-8322750</a><br>
<br>
And we've done loads of updates for new OSes to keep things
current and working.<br>
Right now we are just wrapping up a JCP maintenance release (a
significant investment) and the<br>
backports of everything needed to be able to support Wayland on
Linux.<br>
That's not abandoned by any reasonable criteria.<br>
<br>
-phil.<br>
<br>
<br>
<blockquote type="cite"
cite="mid:cd8ff53d-ffde-4fb2-8710-2fc1c378008f@oracle.com"> <br>
And yes, we know that that there are missing features in JavaFX
relative to Swing like desktop integration and Image I/O to name
two important ones. I guess the question for you and other app
developers are: which ones are the most important that there be
a native JavaFX solution for?<br>
<br>
-- Kevin<br>
<br>
<br>
<div class="moz-cite-prefix">On 9/30/2024 2:17 PM, Davide Perini
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:aa52738f-472b-4cf4-bef7-787e4cc3833e@dpsoftware.org">
Hi, <br>
thanks for your time, I appreciate the answer.<br>
<br>
I love JavaFX and my concern is sincere.<br>
JavaFX is not a "complete solution" to build UIs because it
relies on AWT for basic and important features like a TrayIcon
for example.<br>
<br>
AWT is abandoned, most of its APIs is falling apart causing
issues on modern OS.<br>
<br>
That's why of my question. If AWT is abandoned, how can JavaFX
survive this?<br>
Does it has sense in developing JavaFX if Oracle abandoned
AWT?<br>
<br>
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, <br>
JavaFX is not enough because JavaFX has "nearly no integration
with the OS".<br>
<br>
I mean, how can we convince new developers to jump on JavaFX
if the "surroundings" are in this state?<br>
<br>
Davide<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 28/09/2024 20:37, Johan Vos
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABxFH2FybU_nnPifH+nbOMASMq4G-Zx9VmQ2F1cXOw9SfaVCxw@mail.gmail.com">
<div dir="ltr">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.
<div>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. </div>
<div>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.</div>
<div><br>
</div>
<div>- Johan</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Sep 28, 2024 at
5:17 PM Davide Perini <<a
href="mailto:perini.davide@dpsoftware.org"
moz-do-not-send="true" class="moz-txt-link-freetext">perini.davide@dpsoftware.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">no
answers, means a lot...<br>
<br>
On 26/09/2024 17:44, Davide Perini wrote:<br>
> As title.<br>
> AWT is too old to withstand the future and probably
it's too old to <br>
> withstand the present.<br>
><br>
> AWT is falling apart with old APIs breaking as
operating systems move on.<br>
><br>
> Even very important features like tray icons and
notifications are <br>
> broken.<br>
> Something is broken in Windows, something in Linux,
something on macOS.<br>
><br>
> Current notification APIs is old and is somewhat
broken in Windows <br>
> with notification that doesn't stick in the
notification center.<br>
><br>
> SystemTray on Linux is completely broken because it
still uses the <br>
> ancient xembeds instead of the newer SNI.<br>
><br>
> I love JavaFX but will JavaFX survive the fact that
AWS is abandoned <br>
> and that it is falling apart?<br>
><br>
> Is there something moving to renew AWT or it's just
kicking a dead horse?<br>
><br>
> Thanks<br>
> Davide<br>
<br>
</blockquote>
</div>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>