JavaFX Introduction tutorial
JavaFX is a language for create and deploy rich client graphical user interface(GUI) applications. JavaFX is a next generation graphical user interface toolkit. It is intended to replace java Swing as the standard GUI library for Java SE.IT enable doveloper to design, create, test,debug, and deploy rich client applications. Javafx have include a feature of customised style using Cascading Style Sheets (CSS) style and another thing is that it include XML language so it make easy to build or dovelope an application.
IN javafx there is a drag and drop designer available which is known as scane builder. By this it make our work very easy to design an application. So we have to just drag and drop then customise css and you can also add functionality.
The appearance of JavaFX applications can be customized by CSS and it separate look and style from implementation so that developers can concentrate on internal Dovelopment(functionality)not on look and feels.If you prefer to design UIs without writing code, then use JavaFX Scene Builder (as describe above). As you design the UI, Scene Builder creates FXML markup that can be used to add the business logic.
FEATURES OF JAVAFX :
- It is easy to learn because it is very simillar to javaswing and reasiion is we can dovelop and design usin scane builder.
- A new language is added to javafx called FXML, which like HTML or XML ( so ot doesn’t mean that it is a alternative to html but it a alternative to java Swing)is used only to define the interface of an application, So that it completely separate from the logic of code.
- The libraay of javafx is created using java’s native code or java API.
- It support both 2d and 3d designing and also animation. So it also a great feature of javafx in graphics.
- It Support new and great powerfull way of designing using CSS.
- It also support many extra feature like date-picker, accordion pane, tabbed pane and pie-chart etc.
- Other feature is that existing application of swing can be updated by new javafx appliction.
- JavaFX provides support for multitouch operations.
- It also support webvieaw which is a web component we can embeded web pages in javafx application.
- Javafx also platform independent so that it can run any platform usong JVM.