FXML
Developed by | Oracle Corporation |
---|---|
Initial release | October 2011 |
Type of format | User interface markup language |
Extended from | XML |
FXML is a declarative XML-based language created by Oracle Corporation for defining the user interface of a JavaFX 2.0 application.[1][2]
Example
The following shows the text "Hello World!".
<?import javafx.scene.control.Label?> <Label text="Hello, World!"/>
See also
- XAML
- XUL
References
- ↑ Meyer, David (2011-10-06). "JavaFX 2.0 arrives and heads for open source". ZDNet. Retrieved 2011-10-09.
The update introduces a new XML-based markup language called FXML, which is aimed at defining user interfaces. Other scripting languages, such as Groovy, JRuby and Scala, can also be used to write apps in JavaFX 2.0, as can the Java development tools NetBeans and Eclipse.
- ↑ Greg Brown (2011-08-15). "Introducing FXML". Retrieved 2011-10-09.