public void createNewWorkbook()
    {
        XSSFWorkbook wb = new XSSFWorkbook();
        try
        {
            FileOutputStream fileOut = new FileOutputStream("workbook.xls");
            try
            {
                wb.write(fileOut);
                fileOut.close();
            }
            catch(IOException ioe)
            {
                System.out.println(ioe.getMessage());
            }

        }
        catch(FileNotFoundException fnfe)
        {
            System.out.println(fnfe.getMessage());
        }
    }