when I used KeyLisetenr with (for VK_CANCEL) JTextField..the programme didnt
work. but the same code is worked with TextField. can somebody explain it?

Nisha