Skip to main content

JavaFX FAQs

 

Q: What is JavaFX?

A: That’s a great question, as the answer has changed over the last few years. Up until 2011 JavaFX Script was a scripting language that ran on the Java Virtual Machine. In 2011 JavaFX 2 was introduced as an API in the Java SE platform, and is the recommended mechanism for creating user interfaces in Java. JavaFX 2 provides a rich set of graphics and media API with high-performance hardware-accelerated graphics and media engines that simplify development of data-driven enterprise client applications. See the following URL for a more complete answer:
http://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm

Q: Where can I download JavaFX?

A: Starting with Java SE 7 update 6 and JavaFX 2.2, the JavaFX libraries are included in Oracle's implementation of Java SE. You can download Java SE 7 with JavaFX from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Q: What Integrated Development Environments (IDEs) are typically used for developing JavaFX applications?

A: JavaFX applications can be developed using any Java IDEs, such as NetBeans, Eclipse or IntelliJ. However, NetBeans offers specific support (templates, code completion, etc.) that make it easy to use, especially for developers getting started with JavaFX. NetBeans may be downloaded separately from http://netbeans.org, or downloaded co-bundled with the Java Development Kit (JDK) 7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html

The Eclipse IDE is also frequently used for JavaFX application development. The e(fx)clipse project provides JavaFX tooling for the Eclipse IDE, and may be downloaded from http://efxclipse.org/

Q: Are there other JavaFX-specific development tools and utilities you would recommend to develop JavaFX applications?

A: Developers who are used to visual environments to define an application's user interface should have a look at JavaFX Scene Builder. This is a straightforward visual layout tool that can be used by developers or graphic designers alike. You can find more information about Scene Builder at http://www.oracle.com/technetwork/java/javafx/tools/.

Also, Scenic View is a utility designed to make it simple to understand the current state of your application scene graph, and to easily manipulate properties of the scene graph without continually editing your code. This lets you find bugs, and get things pixel perfect without having to do the compile-check-compile dance. Scenic View can be downloaded from http://fxexperience.com/scenic-view/.

A number of other tools and utilities can be found at http://www.oracle.com/technetwork/java/javafx/community/3rd-party-184435...

Q: Are there any other tools that help me style a JavaFX app?

A: There is a set of tools named "FX Experience tools" which helps you with calculating colors, animation transitions and styling the standard controls with CSS. It is available at http://fxexperience.com/2012/03/announcing-fx-experience-tools/

Q: Are there any short and sweet tutorials that will turn me into a JavaFX developer?

A: There sure are. Here’s a great tutorial collection by Oracle’s very own Gail Chappell and Nancy Hildebrandt that will get you up to speed quickly in some several core JavaFX concepts:
http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm