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

📄 guilabel.java

📁 JAVA 实现虹膜识别(完整)
💻 JAVA
字号:
package IrisRecog;

/**
 * GUILabel.java
 * 
 * Extends the JLabel swing component to provide specific color and functionality.
 *
 * @owner Michael Huffman
 * @author Team 6: A. Bare, I. Chaugule,M. Huffman, M. Pearson, C. Schell
 * @version 0.0.1
 *
 * 	CSC 480 Section 2
 * 	Fall 2005
 * 	10/1/05
 */
 
import javax.swing.*;

public class GUILabel extends JLabel
{
	/**
	 * Default constructor with blank label.
	 */
	public GUILabel()
	{
		super();
	
		this.setBackground(Constants.CLR_DEFAULT_BACKGROUND);
	}
		
	/**
	 * Constructor for creating a new GUI label with an image icon.
	 *
	 * @param img The image icon to display in the label
	 */
	public GUILabel(ImageIcon img)
	{
		super(img);
	
		this.setBackground(Constants.CLR_DEFAULT_BACKGROUND);
	}

	/**
	 * Constructor for creating a new GUI label with text and horizontal alignment.
	 *
	 * @param s The string to display in the label
	 * @param aling The horizontal alignment of the text
	 */
	public GUILabel(String s, int align)
	{
		super(s, align);
	
		this.setBackground(Constants.CLR_DEFAULT_BACKGROUND);
	}

}

⌨️ 快捷键说明

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