r/java • u/nlisker • Mar 06 '20
Release Notes for JavaFX 14
https://github.com/openjdk/jfx/blob/9db2ff258fde2a60b1494857e2cacbf76791f4aa/doc-files/release-notes-14.md2
u/blackout191 Mar 07 '20
So, still no system tray icon support in JavaFX 14?
4
u/nlisker Mar 07 '20
No, and I didn't see any plans to do it without contributions, so if you are interested in it feel free to contribute. You can start a discussion on the mailing list and see if someone wants to work with you maybe.
1
u/blackout191 Mar 08 '20 edited Mar 08 '20
I don't think I have the caliber of skills required to do so unfortunately!
Java Awt has it so I was wondering why JavaFX wouldn’t have it as well, as it is easily very useful (perhaps required) for many applications.
1
u/nlisker Mar 09 '20
Easily useful is not easily implemented. Because you say "still" I assume it's something you really want and have been waiting for someone to do it for some time now. However, if you don't see anything moving in years, it probably won't start moving on its own, so it's on you to give it a nudge. Maybe offer a bounty to someone to take on that task.
1
u/blackout191 Mar 09 '20
You're probably right.
Wouldn’t I need to call Win32 AP's via JNI for creating something like this on Windows?
1
2
u/wildjokers Mar 08 '20
That’s very platform specific. Isn’t Windows the only OS with a system tray?
2
u/blackout191 Mar 08 '20
According to this docs, it also exists on KDE and Gnome.
https://docs.oracle.com/javase/7/docs/api/java/awt/SystemTray.html
18
Mar 07 '20
bad marketing as always 🤦🏻♂️ just prepare a normal note and noteworthy with screenshots not a table with bugs. I understand why jfx is used only by enterprise 🤔
10
u/SftwEngr Mar 06 '20
Has Swing development been abandoned at this point doesn't anyone know? All that knowledge gone to waste again....
13
u/wildjokers Mar 06 '20 edited Mar 06 '20
Swing is still in the JDK and there are still bugs opened against it and they get attention from JDK developers:
https://bugs.openjdk.java.net/browse/JDK-8240690?jql=text%20~%20swing%20ORDER%20BY%20created%20DESC
Saying that though, Swing is a mature GUI toolkit and is feature rich and there probably won't be many (if any) new features added to it.
6
u/Tostino Mar 07 '20
Just to add, and that's because it doesn't really need more features. It's able to hit most use cases it was designed for already. Changes for the sake of change, especially when they may be breaking are not why people use Java in the first place.
2
u/wildjokers Mar 07 '20
doesn't really need more features
That’s exactly what I meant by “mature...and feature rich”.
0
u/hyrulia Mar 07 '20
FXML bidirectional binding still not implemented..
4
u/nlisker Mar 07 '20
Did you file a request or start a discussion? You say "still", so I assume this has been waiting for something for a long while now.
Would you like to contribute to implementing this if it's important for you?
2
u/hyrulia Mar 08 '20
Of course it's "still" because when you check FXMLLoader class you can find it's there but it's not enabled yet and just throws and exception, and this since JavaFX 2.0 iirc.
I tried to implement it but it didn't work so i abandoned the idea.
2
u/nlisker Mar 08 '20
I didn't see any discussion about it, so if you want it, at the very least you should ask on the mailing list. Otherwise it's going to be "still" forever.
1
0
Mar 07 '20
[deleted]
0
u/nlisker Mar 07 '20
Isn't it supported already? Seems like others got it to work easily.
1
Mar 08 '20
No hardware acceleration
1
u/nlisker Mar 08 '20
Then I suggest you ask that on the mailing list. I didn't see a discussion about it, so you might be waiting for a long time...
1
1
13
u/[deleted] Mar 06 '20
I’m guessing Javafx is the best thing we got for Java in terms of App development?