i want to fix cursor movements in gridpane cells controls like TextFields created by scene builder or javafx 2.2.
I need cursor in some TextFields and not in some.
How can I code that my cursor jump from one field to some other which i want.
I shall be very gratefull to you for this kindness.
I'm not sure to understand your question. But I suppose you want to change the focus order on your elements?
So when you press Tab, your cursor/focus moves to the next element.
This order is set by the way you put your elements in the scene builder from top to bottom.
So in your Hierarchy menu, you will see something like this:
GridPane .. x ..
-- TextField (This element is the first one who retrieves focus)
-- TextField (When press Tab, this TextField get focus)
-- TextField (When press Tab again, this TextField get the focus)
If you want to do it with code, you can use the function setFocus().
Thanks for the reply
U understand right
i want to build a data entry form where in some fields data entry is required and in some fields are computed.
So i want that cursore goes only in those fields wehre data entry is required.