e01.org

JavaFX Script

JavaFX Script was a scripting language designed by Sun Microsystems, forming part of the JavaFX family of technologies on the Java Platform. JavaFX targeted the Rich Internet Application domain (competing with Adobe Flex and Microsoft Silverlight), specializing in rapid development of visually rich applications for the desktop and mobile markets. JavaFX Script works with integrated development environments such as NetBeans, Eclipse and IntelliJ IDEA. JavaFX is released under the GNU General Public License, via the Sun sponsored OpenJFX project.

JavaFX Script was a scripting language designed by Sun Microsystems, forming part of the JavaFX family of technologies on the Java Platform. JavaFX targeted the Rich Internet Application domain (competing with Adobe Flex and Microsoft Silverlight), specializing in rapid development of visually rich applications for the desktop and mobile markets. JavaFX Script works with integrated development environments such as NetBeans, Eclipse and IntelliJ IDEA. JavaFX is released under the GNU General Public License, via the Sun sponsored OpenJFX project. ==History== JavaFX Script used to be called F3 for Form Follows Function. F3 was primarily developed by Chris Oliver, who became a Sun employee through their acquisition of SeeBeyond Technology Corporation in September 2005. Its name was changed to JavaFX Script, and it became open sourced at JavaOne 2007. JavaFX 1.0 was released on December 4, 2008. On September 10, 2010 Oracle announced at JavaOne that JavaFX Script would be discontinued, although the JavaFX API would be made available to other languages for the Java Virtual Machine. On September 27, 2010 Stephen Chin announced Visage a declarative user-interface language based on the JavaFX Script with enhancements. On April 8, 2012 a project was created with the intention of resurrecting and enhancing the original F3 programming language, but the project appears to have been discontinued in August 2015. import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.text.Font; Stage { title: "Hello World" width: 250 height: 80 scene: Scene { content: Text { font : Font { size : 24 } x: 10, y: 30 content: "Hello World" } } } It shows the following window/frame : This program can also be written in JavaFX Script using a procedural style this way: import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.text.Font; var myFont: Font = Font.font(null, 24); var myText: Text = new Text(); myText.font = myFont; myText.x = 10; myText.y = 30; myText.content = "Hello World"; var myScene: Scene = new Scene(); myScene.content = myText; var myStage: Stage = new Stage(); myStage.title = "Hello World"; myStage.width = 250; myStage.height = 80; myStage.scene = myScene; ==Bibliography== ==External links== JavaFX Main Site Sun's JavaFX overview Chris Oliver's blog, F3 category James Weaver's Learn JavaFX Weblog Sun.com - Learning JavaFX Script: An Introduction for Java Programmers Sun Plans Version of Java for Web-Linked Cellphones (New York Times article) (CNET article) Planet JFX Community Wiki (how-to's, code samples, tutorials)

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"JavaFX Script". 1756381358. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1308268819

JSON record · API collection · citation policy