⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 assign7_2.java

📁 一个实现双人玩的圈叉游戏
💻 JAVA
字号:
/*
 * @(#)Assign7_2.java 1.0 03/02/19
 *
 * You can modify the template of this file in the
 * directory ..\JCreator\Templates\Template_1\Project_Name.java
 *
 * You can also create your own project template by making a new
 * folder in the directory ..\JCreator\Template\. Use the other
 * templates as examples.
 *
 */
package myprojects.assign7_2;

import java.awt.*;
import java.awt.event.*;

class Assign7_2 extends Frame {
	
	public Assign7_2() {
		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				dispose();
				System.exit(0);
			}
		});
	}

	public static void main(String args[]) {
		System.out.println("Starting Assign7_2...");
		Assign7_2 mainFrame = new Assign7_2();
		mainFrame.setSize(400, 400);
		mainFrame.setTitle("Assign7_2");
		mainFrame.setVisible(true);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -