Hi,

I need to make "ENTER" behave as "TAB" in my JTable, I read some 
articles about this, but nobody has a real solution for this. I know how 
to achieve this with JTextField and such, but how do I implement this 
for JTable?
Here is the code:
===============================
addKeyListener(new KeyAdapter() {
   public void keyPressed(KeyEvent evt) {
             int key = evt.getKeyCode();
             if (key == KeyEvent.VK_ENTER)
                 transferFocus();}});
===============================

thanks,
Alex Kravets

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to