This repository merges MaterialFX and VirtualizedFX, port them for compatibility with Java 8.
This is the version it is based on:
I have provided a multi release jar as an adapter to make it compatible with both JavaFX 8 and JavaFX 9+, So it is compatible with Java 8 or later. However, it currently has some known issues when it runs on Java 8, see the issue list.
Maven:
<dependency>
<groupId>org.glavo.materialfx</groupId>
<artifactId>materialfx</artifactId>
<version>11.13.5</version>
</dependency>
Gradle:
dependencies {
implementation("org.glavo.materialfx:materialfx:11.13.5")
}
While I've barely modified the API when porting, this has one exception:
Since PopupWindow
in JavaFX 8 contains a ObservableList<Node> getContent()
method,
which conflicts with the getContent
method signature in MFXPopup
,
I had to rename the MFXPopup::contentProperty()
to contentNodeProperty
,
and renamed the relevant getter/setter methods.