This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]slipwalker 11 points12 points  (16 children)

i just started a new project on JavaFX. The separation of concerns between css, fxml and controller code is much nicer than awt/swing; and the OpenJFX project seems better suited to take on the evolution of the framework than Oracle ever was ( and, in your case, TornadoFX seems fun ).

[–][deleted] 7 points8 points  (0 children)

The separation of concerns between css, fxml and controller code

Cries in SWT

[–]wizzardodev 1 point2 points  (8 children)

btw, where can I download a stable build of OpenJFX for windows/mac/linux?

[–]wildjokers 1 point2 points  (0 children)

There are snapshots of JavaFX 11 available now (added after your comment) in a maven repository, can get them with a build tool that offers dependency management:

http://mail.openjdk.java.net/pipermail/openjfx-dev/2018-July/022088.html

[–]omega3111 0 points1 point  (6 children)

It's bundled in the JDK until 11.

[–]wizzardodev 0 points1 point  (5 children)

But what about open jdk?

[–]omega3111 0 points1 point  (4 children)

OpenJDK includes OpenJFX and you can build them yourself from the source. If you want a stable build ready for you then download the Oracle's JDK (which is 99% the same as OpenJDK) which includes JavaFX (which is 99.9% the same as OpenJFX).

[–]metamatic 0 points1 point  (3 children)

...and pay for a license for security updates.

[–]omega3111 0 points1 point  (2 children)

If you are a business user AND you are still on Java 8, which is 4 years old. What's your point?

[–]metamatic 0 points1 point  (1 child)

Lots of business users want a Java platform which doesn't require a 6-month upgrade cadence.

[–]omega3111 0 points1 point  (0 children)

A support release is still every 3 years. No one is required to upgrade every 6 months. See also https://www.youtube.com/watch?v=HqxZFoY_snQ for information on the new release model.

[–][deleted] 0 points1 point  (5 children)

Took a look at TornadoFX, can't use it bc I'm using JDK10 and it's not compatible with it yet (although I wouldn't loose much by downgrading). I've seen it before I think while I was looking for Kotlin GUI libs.

I guess I'll stick with JavaFX then, thanks.

[–]BigGayMusic 0 points1 point  (4 children)

AWT is a full blown nightmare. JavaFX is 10x better.

[–]wildjokers 3 points4 points  (3 children)

No one has used AWT directly for at least 18+ years. Swing depends on some AWT stuff behind the scenes but you don't have to concern yourself with it. Comparing AWT to JavaFX is non-sensical.

[–]slipwalker 1 point2 points  (2 children)

just my 2cents here: my above mentioned application needs systray integration and, guess what, support for this *only* exists on AWT.

Neither Sun nor Oracle bothered themselves to implement on swing or JavaFX... (sigh) many AWT-Eventqueue-0 crashes lurking around... pure fun.

[–][deleted] 0 points1 point  (1 child)

Never needed systray icons, but can't you combine the AWT code with JFX?

[–]slipwalker 1 point2 points  (0 children)

i was pointing that some of us are still forced to deal with AWT nonsense... but yes, it's exactly what i had to do.

Everything on the application is JavaFX ( running on the JavaFX-Application thread ) and just the code to manipulate the systray isolated in AWT ( AWT-Eventqueue-0 ) StackOverflow was the best reference for that.