开发者

How to implement replay button in SOS game in Java? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 14 hours ago.

This post was edited and submitted for review 14 hours ago.

Improve this question

Here is the GUI of my game:

How to implement replay button in SOS game in Java? [closed]

I want to create Replay button that works for both Game modes (simple game mode and General game mode) open the image pls. Its an SOS game similar to Tic Tac Toe.

JButton replay = new JButton("Replay"开发者_StackOverflow;);
replay.setFont(new Font("Tahoma", Font.PLAIN, 16));
replay.setBounds(501, 335, 112, 26);
replay.addActionListener(this);
this.add(replay);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜