correct way to move a node by dragging in javafx 2?

前端 未结 8 822
感动是毒
感动是毒 2020-12-01 05:50

I\'m converting a Swing/Graphics2D app with a lot of custom painting to a JavaFX2 app. Although I absolutely love the new API, I seem to have a performance problem when pain

8条回答
  •  囚心锁ツ
    2020-12-01 06:13

    you can use : Node.setCache(true); (i use it with a Pane with many childrens like a TextField)

提交回复
热议问题