title: Java - making a textbox not lose focus
body: <p>I have a few different input textboxes which you can enter a command into, press enter, and then it pulls up some information. I have a few different textboxes who (applying to different parts of information). When I press enter, it also moves the focus onto the next input box. How do I stop this? I can't simply use the consume() method in the keyevent class since that would entirely block the enter key, which is not what I want</p>