Uppercase key « Event « Java Swing Q&A





1. First Letter in Uppercase with a KeyListener    coderanch.com

Hi All I want to make first letter of each word to be in Uppercase. So now I'm using a a tokenizer and I tokenized using a space (" ") character. But the problem is if someone types something and presses enter key it goes to the next line but the first letter is still be in lower case as it ...