From: Glen Stampoultzis Date: Sun, 10 Mar 2002 12:00:57 +0000 (+0000) Subject: Slight change to sheet example X-Git-Tag: prelogging~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9e7840d3f9342f45ff70a4b9f4b574a50c3946cf;p=poi.git Slight change to sheet example git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352171 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java index 3b92bbe032..4a9ab790a8 100644 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java @@ -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();