A test is attached here, it was run on the jfx2.1 b24 and showed that a MOUSE_DRAGGED event on a TreeView could be received only by an EventFilter, but not an EventHandler.
1) run the test which adds both an EventFilter and an EventHandler to receive a DRAGGED event from a TreeView.
2) press on an item then drag, the println will tell you that only an EventFilter receives the events.
This makes SceneBuilder's DnD fail, a workaround is to use an EventFilter instead of EventHandler
1) run the test which adds both an EventFilter and an EventHandler to receive a DRAGGED event from a TreeView.
2) press on an item then drag, the println will tell you that only an EventFilter receives the events.
This makes SceneBuilder's DnD fail, a workaround is to use an EventFilter instead of EventHandler
- duplicates
-
JDK-8121075 Impossible to add component by drag and drop. Nightly build 516
-
- Closed
-