?? test.java
字號:
package test;
import dao.*;
import dao.impl.AccountDaoImpl;
import biz.*;
import biz.impl.BankImpl;
import View.*;
import java.sql.*;
import util.*;
public class Test {
public static void main(String[] args){
Connection conn=null;
try {
conn = JdbcUtil.getConnection();
AccountDao dao=new AccountDaoImpl();
Bank bank=new BankImpl(dao);
TextView view=new TextView(bank);
view.showMain();
} catch (Exception e) {
e.printStackTrace();
}finally{
JdbcUtil.release(null, null, conn);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -