The Wayback Machine - https://web.archive.org/web/20080612174718/http://java.sun.com:80/javafx/faqs.jsp
Sun Java Solaris Communities My SDN Account Join SDN

JavaFX Technology - FAQs

JavaFX is a family of products for creating rich internet applications (RIAs) across the multiple screens of your life.
� Go to the Download page

FAQs


What is JavaFX technology?

JavaFX is a family of products for creating rich internet applications (RIAs) with immersive media and content across the multiple screens of your life. It includes a runtime and a tools suite that web scripters, designers, and developers can use to quickly build and deliver the next generation of rich Internet applications for desktop, mobile devices, TV, and other platforms. JavaFX tools suite will offer developer and authoring tools that bridge the gap between user experience design and development logic, giving designers and developers unprecedented collaboration opportunities.

Will JavaFX technology be released in open source?

We continually solicit and get feedback from the open source and Java developer communities about key elements of our technology, and this ongoing conversation often influences our product development.

To this end, several components of the JavaFX product family are already projects in open source, including JavaFX Script, JavaFX Compiler, JavaFX Script Plugin for NetBeans, and Scene Graph. See the OpenJFX community site for information on how to get involved and contribute. Sun will continue to engage the OpenJFX community as we release JavaFX products. This fall we will be rolling out our open source strategy for JavaFX technology concurrent with the release of version 1 of JavaFX Desktop. In the meantime, developers can go to the OpenJFX community site for information on all the technology components that are currently available.

How do Java SE and Swing fit in with JavaFX technology?

The JavaFX family of products is based on Java technology.

The primary component of JavaFX technology is JavaFX Script, a declarative language, which is easy to use for interface programmers or visual designers who are familiar with scripting languages. In JavaFX Script, the structure of the programming code closely matches the actual layout of the GUI, making it easier to understand and maintain.

Sun is not replacing Swing with JavaFX Script. Instead, JavaFX Script makes Swing easier to use. Swing remains one of the best GUI development toolkits of its kind for creating standard GUI components, buttons, listboxes, trees, and tables. Together with Java 2D, Swing makes it easy to customize existing components or to create new custom components to achieve virtually any desired visual effect.

What tools are available for building JavaFX Script applications?

The JavaFX tools suite offers creative solutions for both developers and designers. There is a JavaFX Script plugin with language support for NetBeans IDE. The plugin enables development of JavaFX Script applications within the cross-platform NetBeans tools suite. Also planned is a tool for visual and interactive designers to simplify creation of rich Internet applications (RIAs).

Do I have to learn JavaFX Script to use JavaFX technology?

JavaFX Script is currently required to develop JavaFX applications. Developers can use the JavaFX Script plugin for NetBeans IDE to develop rich Internet applications (RIAs). If you have existing Java code, you can include it as you build your JavaFX application. Also planned in the future is a tool for visual and graphic designers that will enable them to build JavaFX applications without having to learn JavaFX Script.

Are you going to submit JavaFX technologies into the Java Community Process (JCP)?

Not in its first year of development.

Why doesn't JavaFX technology just use existing APIs like those in Java SE or Java ME-CDC profile? Why invent a new set?

JavaFX is a completely new technology that provides the presentation layer for the Java ecosystem. The technology is enhanced for creating rich interactive applications that work consistently across desktop, mobile, TV, and other consumer environments. JavaFX also provides optimized APIs for Java SE and Java ME for an enhanced user experience.

Will JavaFX technologies be available for CLDC and MIDP class devices too?

Yes, Sun intends to extend the benefits of JavaFX technologies to those classes of devices, although it has not yet announced a schedule for availability.

What is JavaFX Mobile?

The processing and networking capabilities in today's mobile handsets have the potential to deliver a new class of rich, Internet-enabled content. To allow content creators to tap into this power, Sun Microsystems is bringingJavaFX technology to mobile devices. Moreover, JavaFX Mobile builds on top of the market-leading Java ME platform to take advantage of its powerful, device-level capabilities. With the Java ME platform already running on over 2 billion handsets today, Sun is well positioned to establish JavaFX Mobile as the leading technology for rich Internet applications (RIAs) on mobile devices. Best of all, content created for JavaFX technology is capable of running on all the screens of your life. This means people building content based on JavaFX technology for the desktop, mobile phone, or other consumer devices will be able to deploy their content more broadly than with any other platform.

How will JavaFX Designer differ from JavaFX Script?

JavaFX Designer will provide a comprehensive visual design environment to allow designers to author rich, Internet-enabled content and applications without necessarily knowing the underlying JavaFX Script language or the specifics of the Java platform.

How does JavaFX technology compare to the competition?

There are a large number of requirements for rich Internet applications (RIAs) that are not met by any platform today, and Sun is uniquely positioned to address these challenges. JavaFX technology will offer a number of unprecedented advantages:

  • Built on Java: JavaFX is not starting from scratch; it is built on the Java platform (Java SE and Java ME) and leverages all the power and capabilities of the Java platform.

  • Across devices and screens: JavaFX applications will run across multiple devices and screens, including browser, desktop, mobile, TV, and more. The same JavaFX Script applications that run in the browser can also be deployed unmodified on the desktop.

  • Open source: JavaFX is the only non-proprietary rich client environment with many components of the technology already available in open source.

  • Designer/Developer workflow: There remains a distinct need to close the gap between a designer's vision and a programmer's skills with an easy-to-use, visually accurate, high-performance suite of tools. JavaFX technology and tools suite will empower designers to collaborate with developers working in Java technology. Specifically, the planned JavaFX Designer tool will deliver a solution to this workflow issue.

Will there be a browser plugin for JavaFX?

Yes. The evolving JavaFX technology will eventually have plugins for various browsers.

Where can I get more information about JavaFX technology?

Depending on your interests, there are a number of web sites where you can get more information.

  • JavaFX.com
    A centralized site for news and announcements where you can sign up for a private preview of the JavaFX SDK and to view demos.
  • OpenJFX
    The OpenJFX community project is for sharing early versions of the JavaFX Script language and for collaborating on its development.
  • JavaFX.NetBeans.org
    This is a NetBeans project for the JavaFX Script plugin for the NetBeans IDE. The plugin enables you to create, test, debug, and deploy applications written in the JavaFX Script language.
JavaFX Site Map

Resources