JavaFX: How to change the focus traversal policy?

后端 未结 10 1890
广开言路
广开言路 2020-11-30 04:34

Is it possible in JavaFX to change the focus traversal policy, like in AWT?

Because the traversal order for two of my HBoxes is wrong.

10条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-30 05:15

    In scene builder go to the view menu and select show document. on the left will be all objects in your current fxml document. drag controls up or down in the list to reorder for tab index. Select hide document to use the other tools since the document pane hogs the space.

提交回复
热议问题