This repository merges MaterialFX and VirtualizedFX, port them for compatibility with Java 8.
This is the version it is based on:
- MaterialFX: v11.13.5 (a98d9e998d92948a0edcf4ba7a5f3ad7acfb41a8)
- VirtualizedFX: v11.12.6 (cce95f44ea43056b88078a7c5ae2fe6f291e9fe3)
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.