public static JTable getJTable(){   //JTable

        sql="SELECT * FROM AddrBook";

        Vector data = new Vector();
        Vector dataRow = new Vector();
        ResultSet rs=DB.sqlQuery(sql);
        int colNum=6;

        try {
            while (rs.next()) {
                //µһм¼
                dataRow = new Vector ();
                for (int i = 1; i <= colNum; i ++) {
                    dataRow.add(rs.getString(i).toString());
                }

                //ӵܽ
                data.add(dataRow);
            }
        } catch (SQLException e) {
            e.printStackTrace();
        }

        Vector cols = new Vector();
        cols.addElement("");
        cols.addElement("");
        cols.addElement("Ա");
        cols.addElement("绰");
        cols.addElement("ʼ");
        cols.addElement("ַ");
        tableModel = new DefaultTableModel(data, cols);
        table = new JTable(tableModel);
        return table;
    }