This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hello, First I am not very sure of what u really want . How ever out of my undestanding the things, I can say escape key doesnt print anything on the screen That is why u cannot see anything. However if u wanna trap that key, the ascii code for it is 27 and can implement the logic tht u want to happen on click of that event
------------------ Try and Try Till u succeed Sandeep Jain
Try and Try Till u succeed<br /> <br />Sandeep Jain
Joined: Mar 15, 2000
I got what I needed by using the keyReleased() method and checking for KeyEvent.VK_ESCAPE. The ESC key only invokes the keyTyped() and keyReleased() methods but even with the keyTyped() method, it won't recognize ascii code 27. It doesn't seem very consistent but at least my thing is working. Thanks!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com