java: resetting program by pressing space key on keyboard
<p>I am creating a humas vs. zombies program on java. I need to be able to reset the program (regenerate buildings, only one zombie and the humans) in other words rerun it. How can I do that by just pressing the space key on the keyboard?</p>
