Newer
Older
Algolike / src / main / java / Main.java
Shinji on 15 Jun 2022 350 bytes ・GUIを設置
import views.MainFrame;

import javax.swing.*;

public class Main {
    public static void main(String[] args){
        JFrame mainFrame = new MainFrame();
        mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        mainFrame.setSize(640, 480);
        mainFrame.setLocationRelativeTo(null);
        mainFrame.setVisible(true);
    }
}