Commit 6c82ebe5 authored by 9831111's avatar 9831111 🙂

Add OnlineModeFrame class.

parent 683357f3
import javax.swing.*;
import java.awt.*;
public class OnlineModeFrame extends JFrame {
private JComboBox serverBox;
private JPanel serverChoosePanel;
private JPanel gamesPanel;
private JButton playButton;
private JButton createGame;
public OnlineModeFrame() {
setBackground(Color.WHITE);
setResizable(false);
setLayout(new BorderLayout());
setBounds(400, 200, 900, 600);
initServerList();
initGamesPanel();
setVisible(true);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment