HSSFClientAnchor hssfClientAnchor = new HSSFClientAnchor();
hssfClientAnchor.setAnchor((short)0,0,0,0,(short)1,1,0,0);
HSSFSimpleShape line = drawingPatriarch.createSimpleShape(hssfClientAnchor);
line.setShapeType(HSSFSimpleShape.OBJECT_TYPE_LINE);
line.setLineStyle(HSSFShape.LINESTYLE_SOLID);
line.setLineWidth(3350);
firstCell.setCellValue("课程 学生");
CellStyle firstCellStyle = workbook.createCellStyle();
firstCellStyle.setVerticalAlignment(VerticalAlignment.CENTER);
firstCellStyle.setAlignment(HorizontalAlignment.CENTER);
firstCell.setCellStyle(firstCellStyle);
```