1
1
123qwe2015-06-28 17:41:05
Java
123qwe, 2015-06-28 17:41:05

UI in JAVA FX. How unique are libraries?

Interested in the possibility of writing a UI in JAVA, but since I'm a newbie, I don't know the details of this engineering model.
For example, on JS + СSS you can do very interesting animations, such as even parallax. Is there something similar in JAVA? Or will JS also have to be connected here?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mystdeim, 2015-06-29
@mystdeim

JavaFX has good possibilities for creating various animations, unlike the outdated swing. I advise you to look at examples from the Timeline, the trick is to create key frames, and java will calculate the intermediate frames for you and create an animation at 60 frames / sec, quite convenient. There are some examples on the off site: docs.oracle.com/javafx/2/get_started/animation.htm You can also find working examples on their site called javafx samples.

B
Billy Milligan, 2015-06-29
@Billy_Milligan

In javaFX, you can use css, but with animation it will be more difficult, look towards Timeline Animation .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question