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

📄 e094f66c71fa001c187a96d076d31f00

📁 Svm based face detector code
💻
字号:
package com.sans.ninemen.test;

import java.applet.*;
//required to paint on screen
import java.awt.*;


//the start of an applet - HelloWorld will be the executable class
//Extends applet means that you will build the code on the standard Applet class
public class GameManager extends Applet 
{

//The method that will be automatically called  when the applet is started
	public void init() 
	{
	// It is required but does not need anything.
	}


//This method gets called when the applet is terminated
//That's when the user goes to another page or exits the browser.
	public void stop() 
	{
	// required but no actions neede here now.
	}


//The standard method that you have to use to paint things on screen
//This overrides the empty Applet method, you can't called it "display" for example.
	
	public void paint(Graphics g) 
	{
	//method to draw text on screen
	// String first, then x and y coordinate.
		//g.drawString("Nine Men Morris",20,20);
		g.drawRect(0, 0, 300, 300);
		g.drawRect(50, 50, 200, 200);

	}

}

⌨️ 快捷键说明

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