{"id":55178,"library":"javafx-fxml","title":"JavaFX FXML","description":"OpenJFX module for loading FXML-based user interfaces.","status":"active","version":"25.0.2","language":"java","source_language":null,"source_url":"https://github.com/openjdk/jfx","tags":["javafx","fxml","ui","desktop"],"install":[{"cmd":"<dependency>\n  <groupId>org.openjfx</groupId>\n  <artifactId>javafx-fxml</artifactId>\n  <version>25.0.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.openjfx:javafx-fxml:25.0.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"FXMLLoader","correct":"javafx.fxml.FXMLLoader"}],"quickstart":{"code":"import javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx.application.Application;\nimport javafx.stage.Stage;\n\npublic class App extends Application {\n    @Override\n    public void start(Stage stage) throws Exception {\n        Parent root = FXMLLoader.load(getClass().getResource(\"example.fxml\"));\n        stage.setScene(new javafx.scene.Scene(root));\n        stage.show();\n    }\n}","lang":"java","description":"Load an FXML file to create a JavaFX scene."},"warnings":[{"fix":"Add JavaFX SDK to module path or use a build tool like Maven with javafx-maven-plugin.","message":"JavaFX is not included in JDK 11+; requires separate module path.","severity":"breaking","affected_versions":">=11"}],"env_vars":null,"search_vec":"'base':9 'desktop':15 'fxml':2,8,13 'fxml-base':7 'interfac':11 'javafx':1,12 'load':6 'modul':4 'openjfx':3 'ui':14 'user':10","created_at":"2026-06-15T09:39:46.128741+00:00","updated_at":"2026-06-15T09:39:46.128741+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://openjdk.java.net/projects/openjfx/","github":"https://github.com/openjdk/jfx","docs":"https://appdoc.app/artifact/org.openjfx/javafx-fxml/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}