Slight change to sheet example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352171 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b54c6186d
commit
490a7eab7f
@ -71,7 +71,8 @@ public class NewSheet
|
||||
throws IOException
|
||||
{
|
||||
HSSFWorkbook wb = new HSSFWorkbook();
|
||||
HSSFSheet sheet = wb.createSheet("new sheet");
|
||||
HSSFSheet sheet1 = wb.createSheet("new sheet");
|
||||
HSSFSheet sheet2 = wb.createSheet("second sheet");
|
||||
FileOutputStream fileOut = new FileOutputStream("workbook.xls");
|
||||
wb.write(fileOut);
|
||||
fileOut.close();
|
||||
|
Loading…
Reference in New Issue
Block a user