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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -