package pnf;

import java.io.IOException;
import javax.swing.JFrame;

public class PlantsAndFight extends JFrame {
	public static void main(String[] args) throws IOException, InterruptedException {
		JFrame jf = new JFrame("Plants And Fight");
		StartPanel sp = new StartPanel();
		jf.add(sp);
		jf.setSize(1214, 674);
		jf.setLocationRelativeTo(jf);
		jf.setResizable(false);	//不许改变窗口大小
		jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		jf.setVisible(true);
		sp.action();
	}
}
