JavaFX is modern open source GUI toolkit first released in the year 2008 for developing rich internet applications(RIAs) in Java.
It’s the normally viewed as the successor to Swing.
2. Features of JavaFX
Here are some of the major features of JavaFX.
|1.||JavaFX provides first class support to data binding.|
|2.||JavaFX support multi-language coding. Any JVM-based scripting language like Groovy and Scala can be used.|
|3.||JavaFX is written in Java. Hence it allows take full advantage f Java features like Generics, multithreading etc.|
|4.||JavaFX provides both imperative and declarative ways to create user interfaces. You can either use Java code or use FXML, an XML-based scripting markup language.|
|5.||Rich internet content can be embedded in JavaFX applications. This is possible due to its web engine. This engine will process web content embedded in a scene graph. This web engine is based in a popular open source web browser engine called WebKit.|
|6.||JavaFX has rich support for multimedia e.g audio and video playbacks. This is because it has an inbuilt media engine which provide this support. This engine will utilize your platforms available codecs.|
|7.||Animations and effects can be applied to JavaFX applications using JavaFX APIs.|
|8.||JavaFX is open source. Oracle open sourced JavaFX in the year 2013. Thefore you can view the source code and see how things work behind the scenes. After installation the source will be copied in the Java Home directory, in a file called javafx-src.zip. You can use editors to view this source code.|