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
2 answers

Issues with RangeSlider from ControlsFX

I am trying to implement the RangeSlider class in a program, however, I am receiving the following error: Exception in Application start method java.lang.reflect.InvocationTargetException at…
2
votes
0 answers

ControlsFX Throws an Exception Upon Showing?

This program doesn't work: Platform.runLater(() -> Notifications.create().text("Hello!").showError()); If throws a null-pointer when invoked. Exception: Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at…
Sarah Szabo
  • 10,345
  • 9
  • 37
  • 60
2
votes
2 answers

NoClassDefFoundError GradleBuild Intellij

Im building a jar using Gradle. Im using Intellij and Java 1.8, and everything seems to be alright when im running it in the Intellij environment, but when i want to start the jar i got the following Error: Exception in Application start…
2
votes
1 answer

CheckComboBox(ControlsFX) set to read only [JavaFX]

I have been trying to figure out how to set CheckComboBox to read-only. I do not want to disable the CheckComboBox because I want the user to be able to scroll and look through the already checked items, however I want to disallow the ability of…
EDJ
  • 843
  • 3
  • 17
  • 37
2
votes
1 answer

TextField.bindAutoCompletion returning object ID

I have the following code which build a combobox of states. The code works as expected however I can not get auto complete to work correctly. It appears that the autocomplete is returning object id's instead of the expected text. Clicking on the…
Brian
  • 59
  • 3
  • 10
2
votes
1 answer

How to set OnClick or OnSelection for ControlsFX CustomTextField autocomplete dropdown?

I am using ControlsFX's CustomTextField. When I click on one of the autocomplete options, I need to clear the TextField and create a Tag so I can add it to a FlowPane. How do I set up an OnClick or OnSelectionChange listener or override the current…
SedJ601
  • 12,173
  • 3
  • 41
  • 59
2
votes
0 answers

How can I use ValidationSupport between two textfields?

I would like to use the ValidationSupport to check the content of textfield2 against the content of textfield1. Here is what I tried to do : validationSupport = new ValidationSupport(); validationSupport.registerValidator(textfield2, false,…
Thierry
  • 21
  • 6
2
votes
0 answers

How to use CheckComboBox in editable table cell? (JavaFX)

I know regular ComboBoxes can be used in TableView cells and be editable as per http://o7planning.org/en/11079/javafx-tableview-tutorial. However I would like to do the same with CheckComboBox from ControlFX, but I can't figure out how. I found this…
Frida
  • 21
  • 2
2
votes
1 answer

controlfx TableFilter-dynamically adding rows are not getting filtered

I am using controlfx TableFilter property for implementing filter cabability to javafx tableview. It works fine. But once have applied a filter to a particular column and when a new row is added dynamically that row is not filtered. Or in other…
2
votes
3 answers

Controlfx - Rating width

I am using RatingBar from Controlfx. I´d like to bind the width value, but It dont allow to be a value < 248. @FXML private Rating vipRating; vipRating.prefWidthProperty().bind(ratingVBox.prefWidthProperty());
Marckaraujo
  • 7,422
  • 11
  • 59
  • 97
2
votes
2 answers

Converting ValidationSupport lambda call to method reference

I've just started using SonarQube for improving my code quality and when I analyzed a JavaFx project that uses ControlsFX for validation I got this "code smell" error. Replace this lambda with a method…
Brenin
  • 195
  • 1
  • 2
  • 16
2
votes
2 answers

Validate JavaFX form only after submission using ValidationSupport

I'm trying to validate a javafx form using ValidationSupport, the validation is working, but when I access the form the "errors decorations" are already shown, even before the form is submitted or the textfield is focused. ValidationSupport…
dinhokz
  • 895
  • 15
  • 36
2
votes
1 answer

How to Individually Reference Each Thumb of a RangeSlider (ControlsFX)

I'm trying to bind a label to be displayed above the lower and upper thumbs of RangeSlider. The label's position should always remain above their respective thumb, no matter where the user slides it. Like so: My approach is to attach listeners to…
Nova
  • 423
  • 1
  • 10
  • 36
2
votes
1 answer

How to check and uncheck all items when checking or unckeck some of the items

JavaFX CheckComboBox How to check and uncheck all items when checking or unckeck some of the items. Check all when ckeck item All Uncheck all when unckeck item All ObservableList list = FXCollections.observableArrayList("All","Item 1", "Item…
R3ing
  • 437
  • 3
  • 12
2
votes
1 answer

ControlsFX: Validation result

I want to do some validation in JavaFx using ControlsFX. my code is like this: ValidationSupport support = new ValidationSupport(); boolean isValid = true; if(textField.getText().trim().isEmpty()) isValid =…
Ayoub.A
  • 1,943
  • 3
  • 27
  • 34