Key « Text Input « Java Swing Q&A





1. JTextComponent default key bindings ... big confusion!    coderanch.com

Hello, Does anyone of you ever tried to replace the default behaviour of some "special" key bindings like: TAB, BACK_SPACE, SPACE, DELETE, ... from a JTextField? Im using jdk1.3 and Im trying, like I've said, to create a custom JTextField which will have my special actions or responses for those KeyStrokes. I thought it might be easy because you got the ...