i want to use jmetro style .jar file in b4j
but i get this error
i use jdk 8
project attached
but i get this error
i use jdk 8
GitHub - JFXtras/jfxtras-styles: Java, JavaFX themes or look and feels. Currently contains JMetro theme.
Java, JavaFX themes or look and feels. Currently contains JMetro theme. - JFXtras/jfxtras-styles
github.com
B4X:
java.lang.ClassCastException: impl.jfxtras.styles.jmetro8.ProgressBarSkin cannot be cast to com.sun.javafx.scene.control.skin.ProgressBarSkin
at com.sun.javafx.scene.control.skin.ProgressBarSkin$StyleableProperties$2.isSettable(ProgressBarSkin.java:410)
at com.sun.javafx.scene.control.skin.ProgressBarSkin$StyleableProperties$2.isSettable(ProgressBarSkin.java:406)
at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:653)
at javafx.scene.Node.impl_processCSS(Node.java:9191)
at javafx.scene.Parent.impl_processCSS(Parent.java:1249)
at javafx.scene.control.Control.impl_processCSS(Control.java:868)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Node.processCSS(Node.java:9058)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.access$3600(Scene.java:159)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$29(Toolkit.java:398)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:397)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:518)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:498)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:491)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$403(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException
at com.sun.javafx.scene.control.skin.TextFieldSkin.updateSelection(TextFieldSkin.java:391)
project attached