Pages

Wednesday, 5 February 2014

JavaFx : Tutorial Series - part 1

JavaFx is API of java which is designed to develop Rich Internet Application. It is used to create very dynamic and attractive java applications. JavaFx uses CSS for styling GUI of java application. If one want to separate presentation of ui and back-end logic it can be done via a scripting language called FXML.

Actually it is very similar to web Programing in the sense that it uses CSS for styling like web Programming, FXML for presentation like HTML and JAVA for back-end logic like JAVASCRIPT do in web Programming.

Tools 

To develop JavaFX application following tools are needed..
  1. Latest JDK 7
  2. JRE 7
  3. IDE NetBeans 7.2 or above or Eclips
  4. JavaFx Scene Builder

First Java Application 

1 . Open NetBeans and click on New Project.
2. Select JavaFX --> JavaFX FXML Application & click Next.


3. Enter name of Project And click Finish.
4. Run your project to see sample application Hello world example.
JavaFX Sample

No comments:

Post a Comment