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

📄 agentfilechooser.java

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

/**
 * AgentFileChooser.java
 * 
 * Extends the JFileChooser swing component by adding an image preview pane
 * to the right and setting the filter to select only jpg/jpeg images.
 * 
 * @author Team 6: Andy Bare, Imran Chaugule, Michael Huffman, Matt Pearson, Catherine Schell
 * @version 1.0.0
 *
 * 	CSC 480 Section 2
 * 	Fall 2005
 * 	10/1/05
 */
 
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.filechooser.*;

public class AgentFileChooser extends JFileChooser 
{    
	public AgentFileChooser() 
    {
		//Add the custom agent fiel filter 
		this.addChoosableFileFilter(new AgentFilter());
		this.setAcceptAllFileFilterUsed(false);
		
		//Set default directory to agents folder
		try
		{
			this.setCurrentDirectory(new File("../agents"));
		}
		catch(Exception e) { }
	} 
}

⌨️ 快捷键说明

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