Channels ▼

Eric Bruno

Dr. Dobb's Bloggers

Java FX Bundle and Learning Journal

August 03, 2008

Last week, Sun made available a pre-release of the Java FX development kit for NetBeans. This preview provides web scripters, designers and Java developers with a preview of the runtime and tools needed to create Rich Internet Applications on the Java platform. You can download the JavaFX Preview release, explore the code samples and tutorials, start writing JavaFX applications, and provide feedback to Sun. You can find the bits on the new Java FX site, www.javafx.com.

Java FX is a family of products that includes the language (Java FX Script), a runtime and interface for mobile phones (Java FX Mobile), and a runtime for other devices, such as set-top boxes (Java FX TV). And don't forget, Java FX applications run just as well on the desktop on top of Java SE. 

At JavaOne 2008, one Java FX application was shown running, unchanged, within a browser, then on the desktop as a standalone application (after being dragged out of the browser), then on a mobile phone, and finally within an emulator running Google's Android. What this means to you is that one application (and one application code base) will run on all possible computing environments without change.

If you're new to Java FX, John O'Conner has written an excellent series on Java FX Script on Sun's Java site:

Part 1: Exploring Java FX Script

Part 2: Declarative User Interfaces 

Part 3: Java FX Script Functions

Part 4: Accessing A Web Service

 The last part reveals something about Java FX that's important: it's not just a better UI language. It's 100% compatible with Java, and you can access all of it from Java FX. You're not restricted in any way.

(Curiously, the javafx.com site appears to be written in JavaScript and Flash. Hmmm.) 

Happy coding!

-EJB 

 

 

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video