返回列表 發帖
  1. import javax.swing.JFrame;


  2. public class B {

  3.         public static void main(String[] args) {
  4.                 JFrame JF= new JFrame("My first GUI App");
  5.         JF.setBounds(100, 100, 250, 200);
  6.         JF.setVisible(true);
  7.         JF.setResizable(true);
  8.         JF.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  9.         }

  10. }
複製代碼

TOP

返回列表