I have done a bit of research and all the solutions I have found deal with JTextArea and scrolling to the bottom. My situation is different. I have a stack of JTextfields vertically aligned. What I want is when you are in the last visible text field and you hit tab to the next one, the scrollpane will automatically scroll up to make that text field visible. Is this possible?