Question: is javafx hard to learn?
Answer: JavaFX is IMO very easy to use, much more so than Swing. It is my go-to for making UIs in Java. It looks nice, and is fast. I think learning it is very useful if you plan to make Java-apps, however if you plan to make only web based apps then learning HTML/CSS/JS is better.