Sunday, 6 May 2018

Introduction to JavaFX

JavaFX is a high performance graphical user interface library provided by java. It is used to build platform independent, rich UI client applications.

Why should I use JavaFX?
a.   By using JavaFX, you can develop application across many types of devices (Ex: tablets, desktops, mobile devices etc.,).
b.   JavaFX supports style sheets (css), by using these you can decouple the functional logic from presentation.
c.    By using ‘JavaFX Scene Builder’, you can design user interface without writing single line of code.
d.   JavaFX uses, xml based markup language FXML to construct user interfaces. You can easily port this xml application from one platform to other, you can even change the look and feel of the javaFX application, by changing this FXML file.
e.   You can embed webpages in JavaFX application. JavaScript running in WebView can call Java APIs, and Java APIs can call JavaScript running in WebView.
f.    javaFX support most of the HTML5 features like web socket, web workers, printing capabilities etc.,
g.   You can embed swing content by using SwingNode class of JavaFX.
h.   3D graphic support available
i.     Support Hi-DPI displays.
j.    Provides multi-touch support depending on underlying platform

Prerequisite
You should be comfortable with java basics.

Requirement
a.   Install Jdk1.8 or higher version. If you do not know, how to setup java in your computer, you can go through my below post.




Previous                                                 Next                                                 Home

No comments:

Post a Comment