TAB and JTable 2

I have a JTable and I want to use the TAB botton of the key to move inside the table's cells...

I use this code:

table.addKeyListener(new KeyAdapter()

{

public void keyReleased(KeyEvent e)

{

if(e.getKeyCode() == KeyEvent.VK_TAB)

{

System.out.println("work");

}

}

});

I do not have results...

How is possible?

Thank you

[413 byte] By [drumskra] at [2007-11-26 21:42:59]
# 1
Why did you create a new post? http://forum.java.sun.com/thread.jspa?threadID=5148046And worse this time you forgot to mention that you want TAB to work from inside an editing cell.
Rodney_McKaya at 2007-7-10 3:29:37 > top of Java-index,Desktop,Core GUI APIs...