I have created the treeview in javafx2. i need to write the event for getting clicked node name.
pls let me know how to do this?
I have created the treeview in javafx2. i need to write the event for getting clicked node name.
pls let me know how to do this?
slightly updated version
Slightly more updated version, using lambdas which cleans it up a bit:
use ChangeListener .
Sample code :