Plz tell what is the use of making a panel set focusable
<p.setFocusable(true);>
while using key events is this necessary?
You just posted in the previous thread, but here's the link again to the tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html
Here's what I suggest, download the example and try NOT setting setFocusable(true) and see if it works. That will tell you simply if it is necessary. Beforehand it worked, if it doesn't work afterhand you know it's necessary. If it does, you know it's not...
-blazed