0

JavaFX is a very power full way of creating GUI applications for the developers who are familiar with Java, but none of any updates happened for javaFX in java newer versions. and in Java 13, some of the previous features are not included.

as a beginner should I learn javaFX or Swing or any other way to create java GUI applications

Hashan Mahesh
  • 103
  • 4
  • 12
  • As someone who used and somewhat liked JavaFX, no I wouldn't recommend learning it any more. Every GUI I write these days uses React – Michael Nov 20 '19 at 08:18
  • Possible duplicate of [Swing vs JavaFx for desktop applications](https://stackoverflow.com/questions/16694948/swing-vs-javafx-for-desktop-applications) – yur Nov 20 '19 at 08:18
  • 2
    @Michael Apples and Oranges. React is for writing Web UIs. JavaFX and Swing are for writing Desktop UIs. – Andreas Nov 20 '19 at 08:36
  • 1
    @Andreas And what does your browser run on? A desktop. Every Java based desktop app I write these days is a Spring Boot web server with a web front end. Even if it runs locally. IMO that is the best way to write Java desktop apps right now. JavaFX is bad in comparison. – Michael Nov 20 '19 at 10:33

1 Answers1

5

In case you want to create Java Gui programs that run on local machines, JavaFX is still the way to go. For starters, I can highly recommend the Scene Builder which is now customized and released by Gluon. Eventhough JavaFX does no longer come with the JRE, its still Open Source in development.

These are just my two cents, you might get other opinions on that topic.

eckad158
  • 385
  • 6
  • 19