KeyAdapter « Event « Java Swing Q&A





1. KeyAdapter Masking Problem    coderanch.com

2. KeyAdapter problems    coderanch.com

Hey guys, in case anybody runs into this problem here's what I did. Instead of extending KeyAapter I implemented KeyListener. Since I only needed either KeyTyped or KeyReleased to work, (either one grants the functionality I require) I defined KeyReleased and just defined KeyPressed and KeyTyped with empty bodies. Now everything works more or less smoothly, when I tried doing the ...