This content has been marked as final. Show 1 reply
What does this have to do with Jar files? I think your post belongs in the AWT forum.
Please use code tags when you post code. The forum software munges code up otherwise. There's a label "CODE" you can click and it generates the tags. Put your formatted code between them.
I think you are trying to have something happen when a key is pressed. You have a method called keyPressed(). But it is not getting called by anything. Google "java keyboard tutorial"
I suggest switching over to Swing. Go through some Swing tutorials.