Calling a method from a JButton is freezing a JFrame?

前端 未结 2 1678
执念已碎
执念已碎 2021-01-26 03:30

I\'m doing a basic Pong game for a class. I have the Pong working, and I have a GUI display on startup, unfortunately I can\'t seem to start the game from the start JButton. I\'

2条回答
  •  野性不改
    2021-01-26 03:58

    It looks like you've got a parenthesis that doesn't belong next to your second to last semicolon. Try removing it.

提交回复
热议问题