1、修改窗口
2、在StudentDao中增加根据姓名查找的方法
public List<Student> getStudent(String name)throws SQLException{DbUtil dbUtil = new DbUtil();String sql="select * from tb_student where name LIKE \"+name+"%\";System.out.println(sql);List<Student> list = new ArrayList<Student>();ResultSet rs=dbUtil.executeQuery(sql);while(rs.next()){Student student = new Student();student.setId(rs.getInt("id"));student.setName(rs.getString("name"));student.setSex(rs.getString("sex"));s