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
0
votes
0 answers

Scene builder GUI components do not look the same when I run the project from IntelliJ

I am using Scene Builder, IntelliJ and some UI libraries (jfoenix, gluon-charm-glisten, fontawesomefx) to build a JavaFX desktop application, what I am doing is building the scene in the scene builder then saving the .fxml file to my project's…
Thorvald
  • 3,424
  • 6
  • 40
  • 66
0
votes
2 answers

How to use JFXBadge

I'm developing a Java application, with a GUI based on JavaFX and JFoenix. Based on information from the database, I want to add a badge showing the number of issues I have with data from the database (looks like number of unread messages in a mail…
HansR
  • 11
  • 1
  • 3
0
votes
1 answer

JavaFX SetText CSS options

I'm using the Jfoenix libary, and I have gotten it to show both the day of the year, and day of the month (after asking here for the first hint). They are both inside the setText line. I'm trying to figure out if I can add CSS to them individually…
rvz
  • 43
  • 6
0
votes
1 answer

How to pass data from child JFXDrawer controller to a node residing in parent controller in JavaFX?

I have a parent controller say HomeController It has a node SidePanel (JFXDrawer) with SidePanelController and a node anchorPane with varying controller. HomeController | / \ / \ / \ anchorPane …
Sushant
  • 165
  • 7
0
votes
1 answer

Correct setup for developing in JavaFX with Jfoenix 9.0.9

I want to develop a JavaFX application with Netbeans and Scene Builder integration and I would like to use Jfoenix 9.0.9. I've tried using Netbeans 8.2 but the latest version of Jfoenix is not old enough, and by downgrading to Jfoenix 8 I would lose…
0
votes
1 answer

Populate combobox in JavaFX when clicked

I want to populate my ComboBox (Jfoenix combo box) when User Click on Combobox to open it. I linked On Context Menu Requested and On Mouse Clicked methods from SceneBuilder to method below but I checked with debugger and this method is not even…
amir na
  • 217
  • 1
  • 13
0
votes
1 answer

JavaFX Making an scrollable list of custom components

I am working on a project. In this project, I must have a shop that has a huge list of cards. I am also very new to JavaFX. I made a custom class that inherits pane. It has an image view and some labels to show the name and description of card. Know…
amir na
  • 217
  • 1
  • 13
0
votes
0 answers

Importing a Custom Component in to Scene builder

There are many similar questions but i am not sure what i am doing wrong, below are my two classes, class 1: public class CustomTreeTableViewColumn extends JFXTreeTableColumn { public CustomTreeTableViewColumn() { super(); } …
user3164187
  • 1,382
  • 3
  • 19
  • 50
0
votes
0 answers

JFXTextField values not passing correctly

I'm trying to create simple login functionality for a Java / JavaFX project. I've assigned fx:id's 'txt_username' to the JFXTextField and 'txt_password' to the JFXPasswordField respectively. But the values that are being passed through are not the…
0
votes
0 answers

JFoenix TabPane tab label colors

I'm working on my javafx project and i'm using JFoenix library. I found everything i need to edit TabPane look by CSS styling, bet one problem still remains - tabs header labels and bottom strip have some kind of blurry/shadow effects, and i can't…
0
votes
1 answer

How to set width of AnchorPane to resize with parent JFXDialogLayout

I am trying to make the AnchorPane resize with its parent JFXDialoglayout. I tried this in scene builder, but wouldn't let me position/resize it correctly. Now I am trying to do it manually instead as seen below. As seen in the code I tried to bind…
0
votes
1 answer

JavaFX and jfoenix: cannot find symbol JFXHamburger

as the image shows i am not able to use the JFXHamburger class even with imported jfoenix library. For testing i used the wildcard to import everything: import com.jfoenix.*;
M.Mac
  • 699
  • 3
  • 14
0
votes
2 answers

JavaFX: where is the best place to declare nodes of controller

I created a LoginFieldsController custom controller that inherits from the VBox class. Later in the programs I use this controller as an ordinary node like Button, TextFiled, etc. Please note that I only write pure Java code, I do not use…
Jo45
  • 15
  • 2
0
votes
0 answers

Add image in a JFXTreeTableView

I don't know how to add image in JFXTreeTableView because when I set my variable type to ImageView I get an error that I should give it String data. This is my class and constructor: class TeamsInnerClass extends RecursiveTreeObject
0
votes
1 answer

Adjust JFXDialog to its StackPane

So I have this line of code which shows a Dialog: public void showInfoDialog(String header,String message) { JFXDialogLayout content = new JFXDialogLayout(); content.setHeading(new Text(header)); content.setBody(new Text(message)); …
kokos123
  • 305
  • 3
  • 11