Hi I am writing a game, I have a JMenu and in that i have a JMenuitem 'play'.
Now i want to add replay option in the game so that when i click on 'play' my game board should be replaced by another one of the same kind..
I have implemented key listeners for my Jpanels it works fine for the first time...but it is not working for the second instance of the same type of Jpanel ...why?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!