jfoenix

Getting error when using Jfoenix 9 controls with JDK 13

点点圈 提交于 2021-01-29 19:31:02
问题 Here is the code that causes the problem <JFXColorPicker layoutX="109.0" layoutY="282.0" /> <JFXCheckBox layoutX="58.0" layoutY="356.0" /> <JFXNodesList layoutX="87.0" layoutY="307.0" /> Here is the error Exception in Application start method java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal

How can I change the color of a JFXSlider's thumb according to the color of the slider at the current position of the thumb on the slider?

跟風遠走 提交于 2020-12-30 02:21:42
问题 I'm using a JFXSlider in JavaFX and I've used a linear gradient for the color of the JFXSlider 's track (with CSS). However, I'd also like to change the color of the thumb to that of the slider for that position. I've used the following CSS for the slider's linear gradient and for getting rid of the default green color of the JFXSlider : .jfx-slider .track { -fx-pref-height: 10; -fx-background-color: linear-gradient(to right,red,orange); } .jfx-slider .colored-track { -fx-background-color:

How to run a maven java fx project that includes jfoenix using javafx-maven-plugin

允我心安 提交于 2020-05-16 21:58:13
问题 i was trying to create compile my application and create an executable file. as for now i see the best tool to use is javafx-maven-plugin. i couldn't get it to work, so i started with a basic code that is generated when creating a project according to this. https://www.youtube.com/watch?v=4vd-RE0X5Lg https://openjfx.io/openjfx-docs/#maven the basic example works but when i tried the same structure in my code or by simply adding a code that contains jfoenix to it. it cannot run. following line

JFoenix NullPointerException in JFXDatePicker

核能气质少年 提交于 2020-02-26 04:16:37
问题 I use JFXDatePicker from JFoenix library for a Gluon project. I get an exception when trying to change month in JFXDatePicker get exception, which occurs the moment the month-change buttons are pressed. I can't take a screenshot because the pop-up of the open calendar disappears when I attempt it, so I've included inline below a pic from the Internet. Code example of adding JFXDatePicker to VBox: @FXML private View primary; public void initialize() { VBox dateBox = new VBox(); JFXDatePicker

JFoenix NullPointerException in JFXDatePicker

亡梦爱人 提交于 2020-02-26 04:15:25
问题 I use JFXDatePicker from JFoenix library for a Gluon project. I get an exception when trying to change month in JFXDatePicker get exception, which occurs the moment the month-change buttons are pressed. I can't take a screenshot because the pop-up of the open calendar disappears when I attempt it, so I've included inline below a pic from the Internet. Code example of adding JFXDatePicker to VBox: @FXML private View primary; public void initialize() { VBox dateBox = new VBox(); JFXDatePicker

Java error on CSS

做~自己de王妃 提交于 2020-01-13 06:26:11
问题 Today java is going crazy with CSS styling, I think it could be a problem of dependencies, my dependences are: <dependency> <groupId>com.jfoenix</groupId> <artifactId>jfoenix</artifactId> <version>1.11.0</version> </dependency> <dependency> <groupId>org.controlsfx</groupId> <artifactId>controlsfx</artifactId> <version>8.40.13</version> </dependency> <dependency> <groupId>de.jensd</groupId> <artifactId>fontawesomefx</artifactId> <version>8.9</version> </dependency> and the errorr is: Dic 22,

JavaFX using Gluon SceneBuilder InvocationTargetException

本小妞迷上赌 提交于 2019-12-31 05:12:11
问题 I was making an application for a buddy of mine and finished the design for the login screen and saved it in eclipse. This is a .fxml file by the way, and it throws an InvocationTargetException whenever I try to run the main method. Here's the stack trace: Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect