Listening to OTHER keypress event while using JLIST
Posted on 2003-03-30
I am using JLIST (javax.swing.*) to implement some functionality. My code listens to the UPARROW and DNARROW key automatically. Now I want to listen to other keys (like LEFTARROW and RTARROW) in my program to implement some other functionality (Like starting/stopping timer). I tried the following:
"frame.addKeyListener(translation)" where translation implements KeyListener. But since I'm using JLIST, I'm unable to listen to these keypress events.