?? newexplorerapp.java
字號(hào):
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);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -