Update: Just use the 8.40.10 final release now!
With the recent release of JDK 8u60, a lot of people are reporting that ControlsFX no longer works. This is because private APIs that ControlsFX depends on changed in 8u60, and as such we have needed to update our library to deal with this. For those of you who are using JDK 8u60 and want to make use of ControlsFX, please use the latest 8.40.10-SNAPSHOT builds that are available on Sonatype.
ControlsFX 8.40.10 will be released in the next few months. There are a lot of pull requests to merge, and this release will probably be quite a feature-packed release, if the community contributions are anything to go by! Also, Eugene and I will be presenting about ControlsFX again at JavaOne this year, so if you are attending, be sure to come along and say hi!
Keep up the great work ControlsFX team!
I’ve following issue with autoCompletionBinding in ControlsFx.
I’ve created a Text Field and bind it into a AutoCompletion.
TextField textField = new TextField();
AutoCompletionBinding acb = TextFields.bindAutoCompletion(textField, FXCollections.observableArrayList(“Apple”, “Orange”, “Wood Apple”, “Avacado”));
When I type ‘App’ in textfield. The List is Showing below result.
Apple
Wood Apple
What I want is get this result into a new ObservableList.
You make a function that would loop and exit f record meet ur arguments…
i am happy looking forward to get a new release. i realized many malfunctions due to changes in u60. ControlsFX is still my favorite Java(FX) addon 🙂
Notifications aren’t working after adding the 8.40.10 jar.Any solution?
This was the only way I can see to contact you. The link on the ControlsFx page has a broken link suggesting people downloads version 8.40.10.SNAPSHOT to use with Java 8u60. It looks like that’s been replaced with 8.40.11.SNAPSHOT.
Yeah, that happened when 8.40.10 was released I guess: http://fxexperience.com/2015/11/controlsfx-8-40-10-now-available/
It would be nice if on Date Picker we could select multiple days randomly or a range of days…
Any updates on the release date for 1.8_60 ?
I’m guessing you’re asking about the ControlsFX release that supports 8u60. If so, 8.40.10 is out now and supports 8u60.
Hi,
thanks for the great library and for all the work you invest here!
We’re currently in the situation to roll out an new application which is controlsfx based.
However our runtime has changed to > Java 1.8u60 and we need to have released versions in our dependencies.
Any chance to get the next release out as soon as possible to overcome this problem?
(n.b the link to the snapshots does not work)
Thanks,
Felix
8.40.10 has been out for a few weeks, and this release now works on 8u60. Hope that helps! 🙂
I have a slight issue with ToggleSwitch. My issue is that it doesn’t toggle very well. Things I have tried:
toggleSwitch.textProperty().bind(Bindings.createStringBinding(() -> {
if (toggleSwitch.isSelected()) {
System.out.println(“Switch selected!”);
return “Good”;
}
System.out.println(“Switch not selected!”);
return “Bad”;
}, toggleSwitch.selectedProperty()));
toggleSwitch.setOnMouseClicked(new EventHandler() {
@Override
public void handle(MouseEvent event) {
if (toggleSwitch.isSelected()) {
System.out.println(“Switch selected!”);
toggleSwitch.setText(“Good”);
}
System.out.println(“Switch not selected!”);
toggleSwitch.setText(“Bad”);
}
});
toggleSwitch.selectedProperty().addListener(new ChangeListener() {
@Override
public void changed(ObservableValue observable, Boolean oldValue, Boolean newValue) {
if (newValue.booleanValue()) {
matchType = MatchType.SINGLE;
System.out.println(“Something happened: ” + oldValue.booleanValue() + ” ” + newValue.booleanValue());
toggleSwitch.setText(“Single”);
}else {
matchType = MatchType.TOURNAMENT;
System.out.println(“Something happened: ” + oldValue.booleanValue() + ” ” + newValue.booleanValue());
toggleSwitch.setText(“Tournament”);
}
}
});
None of these methods are successfully updating the text associated ToggleButton.
First let me explain I am a new user to Controls FX. I came to find it because it was listed as a “feature” of Java FX 8u40. I assumed it was a part of the JRE, not an external library.
You said “This is because private APIs that ControlsFX depends on changed in 8u60,”
Now I am very confused. How could 3rd party library be relying on private API’s. If they are private your library wouldn’t have access to them. Nor would it want to use such API’s since presumably Oracle could change them indiscriminately and break your library.
Supposing your library does some how utilize, and rely upon, implementation details of a particular Java release, I am suddenly a little uncomfortable including your library in my project. I don’t want to be the one telling people, to use old (read security risk) versions of the JRE just so that my program will continue to work for them. And I don’t want to be recertifying my application every time Oracle releases a security update.
It is all well and good to say “down load the snap release every night”, but that won’t help the end users of my app.
LIke I said, I am a new user to JavaFX. So If I am reading this all wrong, please do let me know.
i need a selection event for autofill textfield . how i make
First, great library. Second, i have a doubt, i’m using TextFields bindautocompletion, but it not auto completing when i have two string in one textfield like: apple, strawberry. When i type strawberry having already typed apple did not auto complete, can someone help me?