W
W
WannaCreative2016-07-12 23:47:59
Java
WannaCreative, 2016-07-12 23:47:59

JavaFx or Swing?

Hello. I read here that JavaFX is needed to create software with a beautiful interface, since the GUI does not look very good, to put it mildly. But along with this, some people write about the Java Swing framework.
Their tasks are the same.
So what to choose for software development?
What software examples are there in JavaFx / Swing

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mystdeim, 2016-07-15
@WannaCreative

JavaFX for sure, but take javafx 8, it has done a lot of work on improvements and starting with it you can really create a good interface (controlsFX to help).
I made a rather sophisticated component for working with cards on it + all sorts of whistles and fakes for a general effect. The experience is positive, it would not be realistic to do this on swing. Compared to swing, javafx has a separation of design and code.
The downside so far is only one low prevalence, but examples appear, for example https://github.com/Mpmart08/MusicPlayer is a pretty beautiful application.

R
Rou1997, 2016-07-13
@Rou1997

A normal Swing interface is obtained, with a system Look & Feel, but for "custom" design JavaFX is needed, there are very few software examples, they do not write Java for Windows, and Android has nothing to do with it.

A
Andrey Shishkin, 2016-07-13
@compiler

Swing is outdated, JavaFX is cool but not popular. In general, if there is an interface in Java, then this is usually the web. What app are you using?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question