📜  java游戏开发课程免费 - Java代码示例

📅  最后修改于: 2022-03-11 14:52:37.858000             🧑  作者: Mango

代码示例1
package com.edu4java.minitennis1;
import javax.swing.JFrame;

public class Game {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Mini Tennis");
        frame.setSize(300, 300);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}