i have made some progress with my hangman game but i cant keep the letter that the player chooses to remain in the label because it gets overwriten by the new letter chosen. Can anyone help me please or has anyone got a very simple hangman game that i could look at to get an idea of how it works. I have encluded some of the code that i am using for my one below also a zip file of what i have written regarding the actual game. Of course if anyone knows of an easyer way of doing things i would be very gratefull if they could show me.
private JLabel title;
public void keyTyped(KeyEvent event)
char key = event.getKeyChar();
Please help as i have been stuck on this hangman game for two weeks and am getting no where apart form getting a headache and frustrated