Back to Projects

FXMLKit

Modern FXML tooling for JavaFX — simplified controller injection, component composition, and lifecycle management.

Key Features

Annotation-driven

Wire FXML controllers and inject dependencies with simple annotations.

Component Composition

Build reusable FXML-based UI components that compose cleanly.

Lifecycle Hooks

Automatic initialisation and teardown lifecycle callbacks for controllers.

Binding Support

Simplified property binding between FXML components and model classes.

Less Boilerplate

Eliminates the repetitive FXMLLoader setup code in every controller.

Java 11+

Fully modular (JPMS-compatible) and targets Java 11 and later.

Getting Started

Add the dependency to your project:

Maven
<dependency>
  <groupId>com.dlsc.fxmlkit</groupId>
  <artifactId>fxmlkit</artifactId>
  <version>1.0.0</version>
</dependency>
Gradle
implementation 'com.dlsc.fxmlkit:fxmlkit:1.0.0'