For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
This is the way it was done in previous version of FX to simplify the FX code and avoid tons of duplicated code. We've tried to fix this, but it was too late, as the cost of backward incompatibility was too hight.
You can however use conversion methods to achieve this. Like this:
slider.valueProperty().asObject().addListener(...)