I don't do java, but I did do CICS cobol and BAL for a very long time on the big iron. So did you test your code? What happens if I have my key lock set to uppercase and I press the 4 Key, but because it's uppercase your program receives a $, what happens? Just wondering?