hi there,
here is my problem i have an annonymous key listener registered on on
JTextfield named sqlArea, like so:

sqlArea.addKeyListener(new KeyAdapter(){
public void keyTyped(KeyEvent e)
{
if(e.getKeyCode()==e.VK_ENTER)
{
//processing...
}
}

});
the problem is that e.getKeyCode() always returns 0(zero) I can recoginize the enter key using if(e.getKeyChar=='\n') (which i had to do) but the whole thing seems really goofy and I just have to find out
why that happens.
Any ideas?