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


  2. public class JF {
  3.        
  4.         public static void main (String args[]) {
  5.                
  6.                 JFrame fm = new JFrame();
  7.                
  8.                 fm.setTitle("JFrameTEST");
  9.                 fm.setLocation(100, 100);
  10.         fm.setSize(800, 550);
  11.         fm.setVisible(true);
  12.         fm.setResizable(true);
  13.         fm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  14.       
  15.         }
  16. }
複製代碼

TOP

返回列表