F3 (language)

From Wikipedia, the free encyclopedia

F3 (Form follows function) is an upcoming declarative User interface language (not XML based) developed by Chris Oliver, from Sun Microsystems.

F3 is a static typing declarative Java-based scripting language providing compile-time error checking, automatic data-binding, full support for 2D graphics and standard Swing components as well as declarative animation. As F3 is built on top of the Java Platform, it is easy to use any Java classes in F3 scripts.

[edit] History

Chris Oliver became a Sun's employee through their acquisition of SeeBeyond Technology Corporation in September 2005.

F3 is not public yet but it is claimed that it will be Open sourced shortly on the java.net website.

[edit] Examples

Here is a simple Hello world program for F3 :

Frame {
   title: "Hello World F3"
   width: 200
   content: Label {
      text: "Hello World"
   }
   visible: true
}

It shows the following panel :

[edit] External links