title: Hitting enter to move a to next text field, like tab key?
body: <p>I am creating a simple form for a class and I want the user to be able to press <kbd>enter</kbd> after filling out one <code>JTextField</code>. It moves on to the next available <code>JTextField</code> <em>(not all of them are editable at a given time)</em>, similar to using <kbd>tab</kbd>.</p>
  
  <p>When it gets to the last editable <code>JTextField</code> it should submit the form. Is that possible or is tab and the usual <kbd>enter</kbd> function <em>(as a submit my only option)</em>?</p>
  
  <p>I'll post the code if necessary, but if you can answer the question without it, that'd be great too.</p>