java - javafx slider thumb move -
i need move thumb on slider special value on track. how it's going on: if click mouse on javafx slider - first point (thumb) moving place click, moving new position. need move thumb new position. i'm using
amountsldr.addeventfilter(mouseevent.mouse_clicked, event -> {}); and
amountsldr.addeventfilter(mouseevent.mouse_dragged, event -> {     amountsldr.valueproperty().set(newval); }); may know how can it? thank alot!!!
 
 
Comments
Post a Comment