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

📄 newexplorerapp.java

📁 Java资源管理器
💻 JAVA
字号:

package app;

import java.awt.Color;
import java.awt.Font;

import javax.swing.UIManager;
import dao.*;
import mvc.*;
/*
 * Created on 2005-5-6
 * Finishing CodeFans.net
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class NewExplorerApp {
    public static void main(String[] args){
		try{
			UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
			Font font = new Font("Serif",0,12);
			Font textFont = new Font("Serif",0,16);
			UIManager.put("ComboBox.font",font);
			UIManager.put("List.font",font);
			UIManager.put("Button.font",font);
			UIManager.put("Button.foreground",Color.red);
			UIManager.put("RadioButton.font",font);
			UIManager.put("Label.font",font);
			UIManager.put("Menu.font",font);
			UIManager.put("MenuItem.font",font);
			UIManager.put("Panel.font",font);
			UIManager.put("TitledBorder.font",font);
			UIManager.put("JTextArea.font",Color.red);
		}
		catch(Exception e){
			e.printStackTrace();
		}
		FileDAO fdao = new FileDAO();
		FileModelImpl model = new FileModelImpl(fdao);
		FileViewImpl view = new FileViewImpl(model);
		FileControllerImpl controller = new FileControllerImpl(view,model);
    }
}

⌨️ 快捷键说明

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