Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将按钮从一个 VBox 拖到另一个.. 是否可以使用 JavaFx 2.2 做到这一点?
我找到了我要找的东西。要获取源对象,我正在使用 event.getGestureSource() 方法...我需要做的就是将此对象添加到目标
target.getChildren().add(event.getGestureSource());