I have a chat window, JTextBox i think, and you hit enter and it invokes an action listener, to send text. It generally works, but now and then i hit enter, and nothing. I have to hit enter again and typically it sends text. the focus is there for typing, but enter is not 100% working.
What could cause this? could i accidently be hitting shift ( every so slightly since its next to enter) as well as enter? can i capture other events like shift enter and control enter?