--- title: JavaFX --- ## Introduction JavaFX is a graphics framework created by Sun Microsystems used for developing rich desktop and Internet applications. JavaFX was created to replace the much older [Swing](https://guide.freecodecamp.org/java/swing) and Abstract Window Toolkit (AWT) libraries and serve as the Java language's standard graphics API for Java Standard Edition. ## Development Tools ### Gulon SceneBuilder Gulon Scene Builder is an application used for user interface (UI) design in JavaFX. The application uses drag-and-drop for rapid UI design that allows you to visualize the interface you are creating while designing it. #### Screeenshots: ![Scene Builder UI](https://i.imgur.com/3d9SqBR.png) ### FXML FXML is an XML-based markup language used for defining structures in JavaFX. The FXML document lays out the various objects in the class in a tree similar to tag nesting in XML documents. #### Example: ```XML // Creates an HBox Object