我写了:sheet.addMergedRegion(new Region(0,(short)0,0,(short)3)); 这一行下面打了黄钱波浪线,addMergedRegion上面也画了一杠黑钱 提示: the method addMergedRegion(Region) from the type HSSFSheet is deprecated. 这个方法不支持使用 现在是用什么方法来代替了吧 请问有谁知道呀?
问题已经解决sheet.addMergedRegion(new CellRangeAddress(0,0,0,3)) /* *CellRangeAddress(int firstRow, int lastRow, int firstCol, int lastCol) */
我这个是合并第一列的columnCount行
我写了:sheet.addMergedRegion(new Region(0,(short)0,0,(short)3));
这一行下面打了黄钱波浪线,addMergedRegion上面也画了一杠黑钱
提示:
the method addMergedRegion(Region) from the type HSSFSheet is deprecated.
这个方法不支持使用
现在是用什么方法来代替了吧
请问有谁知道呀?
/*
*CellRangeAddress(int firstRow, int lastRow, int firstCol, int lastCol)
*/