Questions tagged [jfoenix]

JFoenix is a JavaFX Material Design Library

JFoenix is an open-source Java library, that implements Google Material Design using Java components.

Webpage: http://www.jfoenix.com/

Github: https://github.com/jfoenixadmin/JFoenix

  • Maven dependency (Java 8):
<dependency>
    <groupId>com.jfoenix</groupId>
    <artifactId>jfoenix</artifactId>
    <version>8.0.8</version>
</dependency>
  • Maven dependency (Java 9+):
<dependency>
    <groupId>com.jfoenix</groupId>
    <artifactId>jfoenix</artifactId>
    <version>9.0.8</version>
</dependency>
210 questions
3
votes
0 answers

JFoenix cannot access cannot access class com.sun.javafx.scene.NodeHelper

I would like to use JFoenix but when I want to use a JFXProgressBar or JFXSpinner I have this error : Caused by: java.lang.IllegalAccessError: class com.jfoenix.skins.JFXProgressBarSkin (in unnamed module @0x6aac0b03) cannot access class…
Adfop
  • 67
  • 4
3
votes
0 answers

Adjust height of JFoenix Label Float

I have a JavaFX application using JFoenix for UI elements and they have a label float feature. I have added background shading to the text field however the labels need to be slightly higher elevated to clear the shaded box, especially so on the…
3
votes
1 answer

JavaFX: How to Change the Locale in JFXDatePicker

I would like to change Locale of JFXDatePicker to my own custom Locale like into Cyrillic more precisely Uzbek Language. I searched google but there were no good tips about what to do. in this DatePicker, I would like to see my own custom string…
Jahongir Sabirov
  • 460
  • 1
  • 8
  • 24
3
votes
1 answer

JavaFX JFXDatePicker set color for specific dates

I am able to change the color of a JFXDatePicker from the JFoenix library for certain dates via the code below. final Callback dayCellFactory = new Callback() { @Override public…
Saltydog693
  • 51
  • 1
  • 6
3
votes
1 answer

Select JFXCombobox item and send to new Combobox

I use the JFoenix library for my Comboboxes. 'boxLeague.getSelectionModel().selectedItemProperty().addListener((observable, oldValue, newValue) -> boxTeams.setItems(listPremierLeague));' will put all the text to the boxTeams Combobox when…
DMT82
  • 871
  • 2
  • 14
  • 32
3
votes
1 answer

How to test multiple scenes in TestFX

I wrote a unit test for ArithmeticProblem class in TestFX. public class ArithmeticProblemTextFx extends TestFxBase { @Test(expected = FxRobotException.class) public void fxIdNotExist() { clickOn("#test123"); } @Test …
user6590187
  • 55
  • 11
2
votes
1 answer

Working with JavaFX in Maven (Jfoenix 9.0.10 dependency issue)

I'm working now in Javafx in Maven and I'm using jfoenix dependency and it seems quite problematic. the NPE issue. I tried to research about it and I can't find a solution. I will provide the errors…
2
votes
1 answer

How can I change JavaFx ComboBox text color

I tried every code on StackOverflow to change my combo box prompt text color to #989898, But it not changed and still in black color. Please if you have an idea about that it is very helpful to me. I'll add my CSS file below. .combo-box { …
2
votes
2 answers

How to stylize JFoenix for JavaFX Scene Builder nodes and classes in CSS?

I'm trying to add my custom values to a JFXButton property class in the CSS stylesheet but I can't make these work: .eliminarBtn { -fx-background-color: #eb490f; //This work -fx-font-color: WHITE; //This doesn't work -fx-font-weight:…
Ultra
  • 55
  • 9
2
votes
0 answers

JFoenix: Program throws an exception when I add a JFXProgressBar

I tried adding a JFXProgressBar component, then I get the exception below : Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at…
h3t1
  • 1,126
  • 2
  • 18
  • 29
2
votes
1 answer

How to get the Round Corners in JFXTextField or TextField using CSS in JavaFX

I am building an application using JavaFX and I have a form with JFXTextFields and JFXComboBoxes. I need to round them like round corners as the following picture. Like this: I have tried the following CSS code: .jfx-text-field { …
H Athukorala
  • 739
  • 11
  • 32
2
votes
2 answers

Standart dialog button style to JFoenix

I'm making javafx application and using Jfoenix library. Window with specific information about item from table opens by this code: @FXML public void showEditPolicyDialog() { Policy selectedPolicy =…
2
votes
1 answer

Maven needs extra dependency to build the project whereas Gradle doesn't

I am currently learning JFoenix library. There is a nice demo and instructions how to run it. JFoenix uses Gradle, but I need to use Maven, so I've decided to recreate the demo project using Maven for further testing. The problem appeared when I…
DfM
  • 529
  • 6
  • 19
2
votes
2 answers

Javafx Jfoenix Drawer is blocking the nodes behind the Overlay

I am new to Javafx and after some readings on the subject I decided to start building my first application. My application has a main page and an hamburgerDrawer on left side panel. The trouble I am having is that when I load the application, the…
2
votes
1 answer

How to edit date cell and year cell in JFoenix date picker

Right now I have this grey hover effect for the date cell and year cell in my jfoenix date-picker. I would like to add a pointer and a different color whenever I hover over the two. Below you may see an image depicting the two. Would anybody know…
Roger
  • 597
  • 9
  • 32
1
2
3
13 14