Questions tagged [controlsfx]

ControlsFX provides additional UI controls for JavaFX to complement the core JavaFX distribution.

ControlsFX is an open source project for JavaFX that aims to provide really high quality UI controls and other tools to complement the core JavaFX distribution.

298 questions
2
votes
0 answers

Javafx ControlsFX - Open two dialogs one overlapping the other dialog

I am trying to open new dialog on click of a button which is inside the dialog window. I am getting the below error. Key already associated with a running event loop: javafx.scene.Scene@57eef8ee at…
HemantS
  • 208
  • 3
  • 11
1
vote
1 answer

Java ControlsFX RangeSlider CSS issue

I have a issue styling the thumbs of the RangeSlider - the track gets a wrong color: Consider this example: package org.example; import javafx.application.Application; import javafx.geometry.Orientation; import javafx.scene.Scene; import…
droid
  • 103
  • 1
  • 15
1
vote
1 answer

SceneBuilder does not find ControlsFX library from MavenCentral

I have reproduced this in SceneBuilder 8.5.0 and 20.0.0 and can't get it to locate the ControlsFX library from maven central. It seems the only way to get ControlsFX added into scene builder is to download the JAR file and add the JAR file manually…
Nathan24
  • 1,372
  • 1
  • 11
  • 20
1
vote
2 answers

How do I get keyboard navigation for the SelectedRow in controlsfx.TableView2?

I'm using the TableView2 component from the library ControlsFX. In an simple example (see sourcecode below) the ArrowKey-Navigation in the table is gone after changing import javafx.scene.control.TableView to import…
bobndrew
  • 395
  • 10
  • 32
1
vote
1 answer

JavaFX - Autocompletion TextField that suggests only matching item starting with input (SuggestionProvider not accessible)

I would like the Autocompletion to suggests only matching item that START with the user's input, instead of showing all the item that CONTAIN the user's input. One way I found is to use SuggestionProvider, but I can't get it imported on my…
Thano
  • 13
  • 1
  • 3
1
vote
0 answers

cannot access class com.sun.javafx.event.EventHandlerManager (in module javafx.base)

Yes, this question has been asked before, but none of the answers provided there solved the issue so: I'm using ControlsFX 11 on a test project, every time I try to run the project I get this error: Caused by: java.lang.IllegalAccessError: class…
Skmp
  • 41
  • 1
  • 6
1
vote
0 answers

Customize ControlsFX Notification Popup using CSS

I am using the ControlsFX Notifications class to create a notification popup. Everything about it is great, except for the fact that I can't style it with CSS. From the research that I did, it says you must add a Notifications.owner(), and the…
JMisley
  • 11
  • 2
1
vote
1 answer

How to set colours of Segmented Bar Segments in JavaFX?

How do I set the colur of specific segments of a segmented bar in JavafX - which is from ControlsFX? https://javadoc.io/static/org.controlsfx/controlsfx/8.40.16/org/controlsfx/control/SegmentedBar.html So if I very basically constructed and set two…
sillyPin
  • 35
  • 5
1
vote
0 answers

java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

I'm following the instructions from controlsfx to play with ControlsFX sample application. It says simply run ./gradlew run and I got java.lang.NoClassDefFoundError: What went wrong: Could not initialize class…
Andrew
  • 11
  • 2
1
vote
0 answers

ControlsFx Issue when running the jar

I am looking for some help using ControlsFx library in my application. I am a beginner at this so please don't hesitate to ask me further details. I am using is Intellij IDEA as IDE, and I am creating a runnable jar with the artifact tool from…
1
vote
2 answers

JavaFX: How can I detect end of rendering in TitledPane?

This is the background for my question: I have a GUI with an accordion with many TitledPanes, and each Titledpane contains a spreadsheetView from the controlsFX package. There is a search-function in the code, where a Titledpane is opened and a…
Michael W.
  • 182
  • 1
  • 12
1
vote
0 answers

JavaFX & ControlsFX - Autocomplete TextField - show drop down menu

I'm using the ControlsFX library to create an AutoComplete Textfield for my JavaFX application. The autocomplete function works, but the problem is that I have to type at least 1 letter (and delete it after), so I can see the drop down menu with all…
Alex
  • 149
  • 1
  • 1
  • 7
1
vote
0 answers

Showing Duplicate Menu Items in Context Menu with TextField. JavaFx. JDK 14

I want the program to show context menu when user starts typing. The context menu should display all the String from array list which the user is typing (Like search). It should change as the user types or changes value in text field. The problem is…
1
vote
0 answers

Cannot drag GridView from the ControlsFX library to my project in SceneBuilder

Hello I am doing my project in JavaFX and I would like to use GridView from the ControlsFX library. I have successfully imported the library to Scenebuilder, however when I try to drag and drop the GridView onto my project it does not work, I tried…
1
vote
1 answer

Adding buttons in a StatusBar via FXML

How can I add buttons using FXML to ControlsFX StatusBar? This is how my status bar is created in my fxml: I saw I can add buttons to this status bar but…
Gregor
  • 409
  • 1
  • 5
  • 12