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

📄 button.java

📁 Java扫雷程序,主要实现了基本的算法
💻 JAVA
字号:
// File Name:    Button.java
// Author:       TianBaideng		Student Number: 3005218107
// Class Day:    thursday			Class Number: 4		Class Year: 2005
// Email:        tian_bai_deng@126.com
// Assignment number:  4
// Description:  this class just like a struct including the status of buttons
//				 such as the 
import javax.swing.*;
public class Button extends JButton {
	
	//the left button is clicked or not
    int Lclick ;
    
    //the right button clicked number
    int Rclick;
    
    //the button is mark with flag or not
	int flag;
	
	public Button()
	{
		Lclick = 0 ;
		Rclick = 0;
		flag = 0;
	}
}

⌨️ 快捷键说明

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