How to remove default TAB behavior from JTextField (traverse to next component) and how to add your ownDetecting Tab Key Pressed Event in JTextField 's // Event.VK_TAB KeyPressed2007-06-06 in Java / Legacy tagged Java / JComponent / JTextField / KeyEvent / KeyPressed / Swing by Marc Nuri