开发者

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

开发者 https://www.devze.com 2022-12-07 22:42 出处:网络
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. 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

精彩评论

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

关注公众号