import java.awt.*;
import javax.swing.*;
public class{
public static void main(String[] args){
JFrame jf = new JFrame("我的第一个界面!");
jf.setSize(500, 400);
jf.setLocation(500, 300);
jf.setResizable(false);
jf.setVisible(true);
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}
javaGUI界面
最新推荐文章于 2024-07-18 14:02:21 发布