Giter Site home page Giter Site logo

materialfx-java8's Introduction

MaterialFX Java 8

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.

Usage

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")
}

Incompatibility

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.

materialfx-java8's People

Contributors

palexdev avatar glavo avatar yaya-dev-box avatar georgioyammine avatar laritello avatar antoninhuaut avatar

Stargazers

Abdul Haseeb avatar  avatar Burning_TNT avatar Max Burri avatar fang avatar stars-one avatar  avatar  avatar  avatar Zkitefly avatar

Watchers

 avatar  avatar

materialfx-java8's Issues

Programs runs in IDE,but gives error after being built.

I am receiving this error and don't know what is causing this:

Exception in Application start method
Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: com/sun/javafx/scene/control/skin/ButtonSkin
        at io.github.palexdev.materialfx.controls.MFXButton.createDefaultSkin(MFXButton.java:351)
        at javafx.scene.control.Control.doProcessCSS(Control.java:897)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:145)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.