title: Disable TreeItem's default expand/collapse on double click JavaFX 2.2
body: <p>I am working on a JavaFX 2.2 project and i want to set custom handling of the mouse (double) click event on a TreeItem. Using <strong>treeview.setOnMouseClicked</strong> i fire my code without errors but the problem is that the TreeItem, on every mouse double click, it toggles between expanded and collapsed. I suppose that this is the default behavior, but how i disable it??</p>