JavaFx - tab order in SceneBuilder

I found a workaround, open the fxml file with a text editor or an xml editor and bring the input controls into the requested order. This helped in my case.


The answer: In SB on the Hierarchy panel it's necessary to set such order of nodes which you need for tab order.


You can do this easily with SceneBuilder. Open fxml file with scenebuilder and got to hierarchy under Document tab. Place input controls into a order you want by dragging input controls. Then focus traversal policy will work nicely when you press tab.

scenebuilder hierarchy

Tags:

Java

Javafx