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


  2. public class Ch75 {

  3.         public static void main(String[] args)
  4.         {
  5.                 JFrame fm = new JFrame("第一支GUI程式");
  6.                 fm.setBounds(100,100,250,200);
  7.                 fm.setVisible(true);
  8.                 fm.setResizable(true);
  9.                 fm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

  10.         }

  11. }
複製代碼

TOP

返回列表