问题 In JavaFX , is there something similar to setLayout(); or setBounds(); ? For example, I want to positioning a button to a position that I desire. 回答1: Everything on JavaFX scene graph is a Node. Each node has a X-coordinate and a Y-coordinate. But there are different ways to set/change position of a child component. It depends on the layout manager used to show the component on the scene graph. There are layout managers, like Group , which do not compute child's default position and you can