I have an JavaFX application with a gridpane containing several textfields. That gridpane is then added to a scrollPane.
Sometimes it happens that the cursor is not visible anymore and the user has to scroll manually. I want to implement some kind of auto scrolling.
I need to detect the following: 1) if mousepointer in one of the textfields is out of sight: how can this be controlled in javafx? 2) if I can check the previous step I can do setVValue to scroll down programmatically.
Thanks in advance