javafx

what is javafx?

JavaFX is the rich client platform for building RIA and content across all the screens of your life (PC, mobile, TV and other consumer devices). JavaFX can allow developers to quickly and easily build high-impact, immersive RIAs that combine 2D and 3D graphics, high fidelity audio and video, and animation, all while leveraging the power and functionality of the existing Java platform.

First release in July 2008. A preview release.

A key element of JavaFX is JavaFX Script, a scripting language designed for web scripters and designers who like to program in a visual context. It is a simple, declarative language that is easy to learn and allows content authors to write in a format that closely matches the layout of graphical user interfaces. On the other hand, JavaFX Script is a fully object-oriented language, complete with method and attributes, that allows expert programmers build highly complex and robust interfaces.

JavaFX Script is a highly productive scripting language that provides the optimal balance of expressing a rich, expressive graphical interfaces and binding to different data sources to create compelling mash-up applications. JavaFX Script is designed for web scripters and content authors who like to program in a visual context. It is a simple, declarative scripting language that is easy to learn and allows content authors to write in a format that closely matches the layout of graphical user interfaces. The language is fully object-oriented, complete with method and attributes thus allowing expert programmers to build highly complex and robust interfaces.


import javafx.ext.swing.SwingFrame;
   import javafx.ext.swing.Button;
   import javafx.ext.swing.SwingDialog;
   import javafx.ext.swing.Label;

   SwingFrame {
       content: Button {
           text: "Press me!"
           action: function() {
               SwingDialog {
                   title: "You pressed me"
                   content: Label{ text: "Hey, don't do that!"}
                   visible: true
               }
       }
   }

   visible: true
   }

jva.net openjfx: javafx language initiative

documentation/articles

An introductory article

Search for: javafx eclipse

eclipse plugin for javafx

the above is article only


import javafx.ui.*;
        
     Frame {
            title: "Hello World JavaFX"
            width: 300
            height: 100
            content: Box {
            content: 
            [Label {
                text: "Hello World"
                toolTipText: "Tool tip"
                font: Font {
                    size: 18
                }
                border: EmptyBorder {
                    top: 10
                    left: 10
                }
                background: Color {
                    blue: 255
                    green: 255
                    red: 255
                }
            }]
            }
            
            visible: true
     }

Search for: are there any sites developed in javafx?

a related project scenegraph at java.net

Interview with JavaFX developers. Answers lot of questions.

forums and what is going on

faq's

There is not a whole lot of support for Eclipse at this time. See this link

you need jdk 6 for javafx. Download jdk

Search for: what is new in java 6?

what is new in java 6?

java 6 comes with java db

it takes about 300mb hard drive jdk 6

\NetBeans 6.1\javafx\javafx-sdk1.0pre1\docs\index.html

is that available somewhere online?

Another good introductory article using non swing components of javafx

Creating A Simple JavaFX Application Using NetBeans IDE

What controls do I have in javafx (see javafx api)

Creating GUIs with javafx

What is scene graph?

javafx sdk Tutorial

how are javafx, swing, scenegraph, and java 2d related?

Search for: what is the class hierarcy of javafx class diagram

Show images for: what is the class hierarcy of javafx class diagram

Using UI Components in Compiled JavaFX Script Technology - James Weaver

Search for javafx blogs at sun

Multiple articles from JavaFx learning curve journal

Planet javafx

Java SE 6u10 to boost applets

The RIA debate

Next generation applets

jdk 6

Filthy Rich Clients by Chet Hasse and Romain Guy

Javafx script by Jim Weaver