JFrame stops working after method called through acitonListener urgent ;(
I need to be done with this game in 2 days, I have no time for unexplainable issues like this:
In my JFrame I got a JPanel panels. Panels is connected to a CardLayout
so by calling a simple function is switch panel to display.
I can freely switch between the menu and the Players panel
But if I switch to Start game it hogs up.
The damn JFrame refure to repaint nor even respond to exit button clicks!
Tho it is working, I can see the output, but no repainting is done whatsoever on the jframe!
Why is this? I call JFrame's repaint() method yet no result! Why?