425 pts.
 Key Listener is not working for another object of the JPanel ?
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?

Software/Hardware used:
Eclipse IDE
ASKED: November 3, 2012  2:51 PM
UPDATED: November 5, 2012  1:40 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question. Michael Tidmarsh   11,410 pts. , hussain22juzer   425 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _