List of usage examples for org.apache.poi.xssf.usermodel XSSFCell setCellValue
@Override public void setCellValue(boolean value)
From source file:minor.dbook.java
private void writetoexcel() { XSSFWorkbook wb = new XSSFWorkbook(); XSSFSheet ws = wb.createSheet();//ww w . java2 s. c o m //load data to treemap TreeMap<String, Object[]> data = new TreeMap<>(); //add column headers data.put("-1", new Object[] { model.getColumnName(0), model.getColumnName(1), model.getColumnName(2), model.getColumnName(3), model.getColumnName(4) }); //add rows and cells for (int i = 0; i < model.getRowCount(); i++) { data.put(Integer.toString(i), new Object[] { getcellvalue(i, 0), getcellvalue(i, 1), getcellvalue(i, 2), getcellvalue(i, 3), getcellvalue(i, 4) }); } //write to excel Set<String> ids = data.keySet(); XSSFRow row; int rowID = 0; for (String key : ids) { row = ws.createRow(rowID++); //get data as per key Object[] values = data.get(key); int cellID = 0; for (Object O : values) { XSSFCell cell = row.createCell(cellID++); cell.setCellValue(O.toString()); } } //write to filesystem try { FileOutputStream fos = new FileOutputStream(new File("E:/excel/daybook.xlsx")); wb.write(fos); fos.close(); } catch (Exception ex) { ex.printStackTrace(); JOptionPane.showMessageDialog(null, ex); } }
From source file:minor.UpdateMenu.java
private void writetoexcel() { XSSFWorkbook wb = new XSSFWorkbook(); XSSFSheet ws = wb.createSheet();/* w w w .j av a2 s . c o m*/ //load data to treemap TreeMap<String, Object[]> data = new TreeMap<>(); //add column headers data.put("-1", new Object[] { model.getColumnName(0), model.getColumnName(1), model.getColumnName(2) }); //add rows and cells for (int i = 0; i < model.getRowCount(); i++) { data.put(Integer.toString(i), new Object[] { getcellvalue(i, 0), getcellvalue(i, 1), getcellvalue(i, 2) }); } //write to excel Set<String> ids = data.keySet(); XSSFRow row; int rowID = 0; for (String key : ids) { row = ws.createRow(rowID++); //get data as per key Object[] values = data.get(key); int cellID = 0; for (Object O : values) { XSSFCell cell = row.createCell(cellID++); cell.setCellValue(O.toString()); } } //write to filesystem try { FileOutputStream fos = new FileOutputStream(new File("E:/excel/menurecords.xlsx")); wb.write(fos); fos.close(); } catch (Exception ex) { ex.printStackTrace(); JOptionPane.showMessageDialog(null, ex); } }
From source file:minor.UpdateRecords.java
private void writetoexcel() { XSSFWorkbook wb = new XSSFWorkbook(); XSSFSheet ws = wb.createSheet();//from w w w. ja va2 s . c o m //load data to treemap TreeMap<String, Object[]> data = new TreeMap<>(); //add column headers data.put("-1", new Object[] { model.getColumnName(0), model.getColumnName(1), model.getColumnName(2), model.getColumnName(3), model.getColumnName(4), model.getColumnName(5), model.getColumnName(6), model.getColumnName(7), model.getColumnName(8), model.getColumnName(9) }); //add rows and cells for (int i = 0; i < model.getRowCount(); i++) { data.put(Integer.toString(i), new Object[] { getcellvalue(i, 0), getcellvalue(i, 1), getcellvalue(i, 2), getcellvalue(i, 3), getcellvalue(i, 4), getcellvalue(i, 5), getcellvalue(i, 6), getcellvalue(i, 7), getcellvalue(i, 8), getcellvalue(i, 9) }); } //write to excel Set<String> ids = data.keySet(); XSSFRow row; int rowID = 0; for (String key : ids) { row = ws.createRow(rowID++); //get data as per key Object[] values = data.get(key); int cellID = 0; for (Object O : values) { XSSFCell cell = row.createCell(cellID++); cell.setCellValue(O.toString()); } } //write to filesystem try { FileOutputStream fos = new FileOutputStream(new File("E:/excel/employeerecords.xlsx")); wb.write(fos); fos.close(); } catch (Exception ex) { ex.printStackTrace(); JOptionPane.showMessageDialog(null, ex); } }
From source file:mvjce.Excel_operations.java
public static void fill_exceldata(XSSFWorkbook workbook, XSSFSheet spreadsheet) { try {//from ww w . j a v a 2 s . c o m Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Sample_data", "root", "root"); Statement st = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); ResultSet detail = st.executeQuery( "select attendance.USN,Student_info.Name,attendance.sub1_class,attendance.sub2_class," + " attendance.sub3_class,attendance.sub4_class,attendance.sub5_class,attendance.sub6_class,attendance.sub7_class,attendance.sub8_class from attendance inner join " + " Student_info on attendance.USN = Student_info.USN where class='" + Writesheet.sec + "' and semester=" + Writesheet.sem_string + " ;"); int i = 1, j = 8; XSSFFont font = workbook.createFont(); font.setFontName("Arial"); font.setBold(true); XSSFCellStyle style = workbook.createCellStyle(); style.setAlignment(XSSFCellStyle.ALIGN_LEFT); style.setVerticalAlignment(XSSFCellStyle.VERTICAL_CENTER); style.setWrapText(true); style.setFont(font); XSSFCell cell; while (detail.next()) { XSSFRow row = spreadsheet.createRow((short) j); row.setHeight((short) 900); cell = (XSSFCell) row.createCell((short) 0); cell.setCellValue(i); i++; cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 1); cell.setCellValue(detail.getString(1)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 2); cell.setCellValue(detail.getString(2)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 3); cell.setCellValue(detail.getString(3)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 5); cell.setCellValue(detail.getString(4)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 7); cell.setCellValue(detail.getString(5)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 9); cell.setCellValue(detail.getString(6)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 11); cell.setCellValue(detail.getString(7)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 13); cell.setCellValue(detail.getString(8)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 15); cell.setCellValue(detail.getString(9)); cell.setCellStyle(style); cell = (XSSFCell) row.createCell((short) 17); cell.setCellValue(detail.getString(10)); cell.setCellStyle(style); j++; } } catch (Exception e) { System.out.println(e); } }
From source file:mvjce.Excel_operations.java
public static void insert_internals(XSSFWorkbook workbook, XSSFSheet spreadsheet) { try {/*from w ww . ja va 2s .c om*/ Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Sample_data", "root", "root"); Statement st = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); ResultSet detail = st.executeQuery( "select s.USN,s.Name,i.sub1_int1,i.sub1_int2,i.sub1_int3,i.sub2_int1,i.sub2_int2,i.sub2_int3,i.sub3_int1,i.sub3_int2,i.sub3_int3,i.sub4_int1,i.sub4_int2,i.sub4_int3,\n" + "i2.sub5_int1,i2.sub5_int2,i2.sub5_int3,i2.sub6_int1,i2.sub6_int2,i2.sub6_int3,i2.sub7_int1,i2.sub7_int2,i2.sub7_int3,i2.sub8_int1,i2.sub8_int2,i2.sub8_int3\n" + "from internals as i\n" + "join Student_info as s\n" + "on i.USN=s.USN\n" + "join internals2 as i2\n" + "on i2.USN=s.USN\n" + "where s.Class='" + Writesheet.sec + "' and s.semester=" + Writesheet.sem_string + ";"); int i = 1, j = 6; XSSFFont font = workbook.createFont(); font.setFontName("Arial"); font.setBold(true); XSSFCellStyle style = workbook.createCellStyle(); style.setAlignment(XSSFCellStyle.ALIGN_LEFT); style.setVerticalAlignment(XSSFCellStyle.VERTICAL_CENTER); style.setWrapText(true); style.setFont(font); XSSFCell cell; while (detail.next()) { XSSFRow row = spreadsheet.createRow((short) j); cell = (XSSFCell) row.createCell((short) 0); cell.setCellValue(i); cell.setCellStyle(style); for (int k = 1; k <= 26; k++) { cell = (XSSFCell) row.createCell((short) k); cell.setCellValue(detail.getString(k)); cell.setCellStyle(style); } i++; j++; } spreadsheet.autoSizeColumn(2); spreadsheet.autoSizeColumn(1); } catch (Exception e) { System.out.println(e); } }
From source file:mvjce.internal_sheet.java
public static void internal_details(XSSFWorkbook workbook) { XSSFSheet spreadsheet = workbook.createSheet("test_excel_internal"); XSSFRow row = spreadsheet.createRow((short) 0); XSSFCell cell = (XSSFCell) row.createCell((short) 0); cell.setCellValue("MVJ College of Bangalore- 560067"); //MEARGING CELLS spreadsheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 19)); XSSFFont font = workbook.createFont(); font.setFontName("Arial"); font.setBold(true);/* www. j a va 2 s . c om*/ XSSFCellStyle style = workbook.createCellStyle(); style.setAlignment(XSSFCellStyle.ALIGN_CENTER); style.setVerticalAlignment(XSSFCellStyle.VERTICAL_CENTER); style.setWrapText(true); style.setFont(font); cell.setCellStyle(style); Excel_operations.set_subcode(); row = spreadsheet.createRow((short) 1); cell = (XSSFCell) row.createCell((short) 0); cell.setCellValue("Department of " + dept_name); spreadsheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 19)); cell.setCellStyle(style); row = spreadsheet.createRow(3); row.setHeight((short) 600); cell = (XSSFCell) row.createCell((short) 1); cell.setCellValue("Semester: \n" + sem_string + sec); cell.setCellStyle(style); row = spreadsheet.createRow(4); String[] text = new String[3]; text[0] = "SI.No"; text[1] = "USN"; text[2] = "STUDENT NAME"; for (int i = 0; i < 3; i++) { cell = (XSSFCell) row.createCell((short) i); cell.setCellValue(text[i]); cell.setCellStyle(style); spreadsheet.addMergedRegion(new CellRangeAddress(4, 5, i, i)); } XSSFRow row2 = spreadsheet.createRow((short) 5); for (int i = 0, j = 3; j <= 23; j += 4) { cell = row.createCell((short) j); cell.setCellValue(sub[i]); i++; cell.setCellStyle(style); cell = row2.createCell(j); cell.setCellValue("T1"); cell.setCellStyle(style); cell = row2.createCell(j + 1); cell.setCellValue("T2"); cell.setCellStyle(style); cell = row2.createCell(j + 2); cell.setCellValue("T3"); cell.setCellStyle(style); cell = row2.createCell(j + 3); cell.setCellValue("Avg"); cell.setCellStyle(style); spreadsheet.addMergedRegion(new CellRangeAddress(4, 4, j, j + 3)); Excel_operations.insert_internals(workbook, spreadsheet); } }
From source file:mvjce.Writesheet.java
public static void writesheet() { XSSFWorkbook workbook = new XSSFWorkbook(); XSSFSheet spreadsheet = workbook.createSheet(sem_string + sec); XSSFRow row = spreadsheet.createRow((short) 0); XSSFCell cell = (XSSFCell) row.createCell((short) 0); cell.setCellValue("MVJ College of Bangalore- 560067"); //MEARGING CELLS spreadsheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 19)); XSSFFont font = workbook.createFont(); font.setFontName("Arial"); font.setBold(true);/* w ww . j a v a 2 s. co m*/ XSSFCellStyle style = workbook.createCellStyle(); style.setAlignment(XSSFCellStyle.ALIGN_CENTER); style.setVerticalAlignment(XSSFCellStyle.VERTICAL_CENTER); style.setWrapText(true); style.setFont(font); cell.setCellStyle(style); Excel_operations.set_subcode(); for (int i = 0; i < 8; i++) { internal_sheet.sub[i] = sub[i]; } internal_sheet.dept_name = dept_name; internal_sheet.sec = sec; internal_sheet.sem_string = sem_string; internal_sheet.internal_details(workbook); row = spreadsheet.createRow((short) 1); cell = (XSSFCell) row.createCell((short) 0); cell.setCellValue("Department of " + dept_name); spreadsheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 19)); cell.setCellStyle(style); row = spreadsheet.createRow(4); row.setHeight((short) 600); cell = (XSSFCell) row.createCell((short) 1); cell.setCellValue("Semester: \n" + sem_string + sec); cell.setCellStyle(style); row = spreadsheet.createRow(5); String[] text = new String[3]; text[0] = "SI.No"; text[1] = "USN"; text[2] = "STUDENT\nNAME"; for (int i = 0; i < 3; i++) { cell = (XSSFCell) row.createCell((short) i); cell.setCellValue(text[i]); cell.setCellStyle(style); spreadsheet.addMergedRegion(new CellRangeAddress(5, 7, i, i)); } int j = 0; XSSFRow row1 = spreadsheet.createRow((short) 6); row1.setHeight((short) 1000); XSSFRow row2 = spreadsheet.createRow((short) 7); row2.setHeight((short) 1000); for (int i = 3; i < 18; i++) { cell = row1.createCell((short) i); cell.setCellValue("Total no. of classes"); cell.setCellStyle(style); cell = row2.createCell((short) i); cell.setCellValue("No.of Classes attended"); cell.setCellStyle(style); cell = row2.createCell((short) i + 1); cell.setCellValue("%"); cell.setCellStyle(style); cell = row.createCell((short) i); cell.setCellValue(sub[j]); j++; cell.setCellStyle(style); spreadsheet.addMergedRegion(new CellRangeAddress(5, 5, i, i + 1)); i++; } cell = row1.createCell((short) 19); cell.setCellValue("%"); cell.setCellStyle(style); cell = row.createCell((short) 19); cell.setCellValue("AVG"); cell.setCellStyle(style); spreadsheet.addMergedRegion(new CellRangeAddress(5, 5, 19, 19)); Excel_operations.fill_exceldata(workbook, spreadsheet); try { FileOutputStream out = new FileOutputStream(new File("test_excel.xlsx")); workbook.write(out); out.close(); } catch (Exception e) { Database.print_error("Excel_output_stream"); } System.out.println("typesofcells.xlsx written successfully"); }
From source file:mymoney.Multi_cal.java
private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed JFileChooser cho = new JFileChooser(); cho.showSaveDialog(null);/*from ww w. j a v a 2 s .c om*/ File f = cho.getSelectedFile(); String filename = f.getAbsolutePath(); DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); XSSFWorkbook workbook = new XSSFWorkbook(); XSSFSheet sheet = workbook.createSheet("New Data"); TreeMap<String, Object[]> data = new TreeMap<String, Object[]>(); data.put("1", new Object[] { "DATE", "NAME", "AMOUNT", "CATEGORY", "TYPE" }); for (int i = 0;;) { if (jTable1.getRowCount() != i) { data.put("2", new Object[] { jTable1.getValueAt(0, 0).toString(), jTable1.getValueAt(0, 1).toString(), jTable1.getValueAt(0, 2).toString(), jTable1.getValueAt(0, 3).toString(), jTable1.getValueAt(0, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("3", new Object[] { jTable1.getValueAt(1, 0).toString(), jTable1.getValueAt(1, 1).toString(), jTable1.getValueAt(1, 2).toString(), jTable1.getValueAt(1, 3).toString(), jTable1.getValueAt(1, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("4", new Object[] { jTable1.getValueAt(2, 0).toString(), jTable1.getValueAt(2, 1).toString(), jTable1.getValueAt(2, 2).toString(), jTable1.getValueAt(2, 3).toString(), jTable1.getValueAt(2, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("5", new Object[] { jTable1.getValueAt(3, 0).toString(), jTable1.getValueAt(3, 1).toString(), jTable1.getValueAt(3, 2).toString(), jTable1.getValueAt(3, 3).toString(), jTable1.getValueAt(3, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("6", new Object[] { jTable1.getValueAt(4, 0).toString(), jTable1.getValueAt(4, 1).toString(), jTable1.getValueAt(4, 2).toString(), jTable1.getValueAt(4, 3).toString(), jTable1.getValueAt(4, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("7", new Object[] { jTable1.getValueAt(5, 0).toString(), jTable1.getValueAt(5, 1).toString(), jTable1.getValueAt(5, 2).toString(), jTable1.getValueAt(5, 3).toString(), jTable1.getValueAt(5, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("8", new Object[] { jTable1.getValueAt(6, 0).toString(), jTable1.getValueAt(6, 1).toString(), jTable1.getValueAt(6, 2).toString(), jTable1.getValueAt(6, 3).toString(), jTable1.getValueAt(6, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("9", new Object[] { jTable1.getValueAt(7, 0).toString(), jTable1.getValueAt(7, 1).toString(), jTable1.getValueAt(7, 2).toString(), jTable1.getValueAt(7, 3).toString(), jTable1.getValueAt(7, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("10", new Object[] { jTable1.getValueAt(8, 0).toString(), jTable1.getValueAt(8, 1).toString(), jTable1.getValueAt(8, 2).toString(), jTable1.getValueAt(8, 3).toString(), jTable1.getValueAt(8, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("11", new Object[] { jTable1.getValueAt(9, 0).toString(), jTable1.getValueAt(9, 1).toString(), jTable1.getValueAt(9, 2).toString(), jTable1.getValueAt(9, 3).toString(), jTable1.getValueAt(9, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("12", new Object[] { jTable1.getValueAt(10, 0).toString(), jTable1.getValueAt(10, 1).toString(), jTable1.getValueAt(10, 2).toString(), jTable1.getValueAt(10, 3).toString(), jTable1.getValueAt(10, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("13", new Object[] { jTable1.getValueAt(11, 0).toString(), jTable1.getValueAt(11, 1).toString(), jTable1.getValueAt(11, 2).toString(), jTable1.getValueAt(11, 3).toString(), jTable1.getValueAt(11, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("14", new Object[] { jTable1.getValueAt(12, 0).toString(), jTable1.getValueAt(12, 1).toString(), jTable1.getValueAt(12, 2).toString(), jTable1.getValueAt(12, 3).toString(), jTable1.getValueAt(12, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("15", new Object[] { jTable1.getValueAt(13, 0).toString(), jTable1.getValueAt(13, 1).toString(), jTable1.getValueAt(13, 2).toString(), jTable1.getValueAt(13, 3).toString(), jTable1.getValueAt(13, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("16", new Object[] { jTable1.getValueAt(14, 0).toString(), jTable1.getValueAt(14, 1).toString(), jTable1.getValueAt(14, 2).toString(), jTable1.getValueAt(14, 3).toString(), jTable1.getValueAt(14, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("17", new Object[] { jTable1.getValueAt(15, 0).toString(), jTable1.getValueAt(15, 1).toString(), jTable1.getValueAt(15, 2).toString(), jTable1.getValueAt(15, 3).toString(), jTable1.getValueAt(15, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("18", new Object[] { jTable1.getValueAt(16, 0).toString(), jTable1.getValueAt(16, 1).toString(), jTable1.getValueAt(16, 2).toString(), jTable1.getValueAt(16, 3).toString(), jTable1.getValueAt(16, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("19", new Object[] { jTable1.getValueAt(17, 0).toString(), jTable1.getValueAt(17, 1).toString(), jTable1.getValueAt(17, 2).toString(), jTable1.getValueAt(17, 3).toString(), jTable1.getValueAt(17, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("20", new Object[] { jTable1.getValueAt(18, 0).toString(), jTable1.getValueAt(18, 1).toString(), jTable1.getValueAt(18, 2).toString(), jTable1.getValueAt(18, 3).toString(), jTable1.getValueAt(18, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("21", new Object[] { jTable1.getValueAt(19, 0).toString(), jTable1.getValueAt(19, 1).toString(), jTable1.getValueAt(19, 2).toString(), jTable1.getValueAt(19, 3).toString(), jTable1.getValueAt(19, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("22", new Object[] { jTable1.getValueAt(20, 0).toString(), jTable1.getValueAt(20, 1).toString(), jTable1.getValueAt(20, 2).toString(), jTable1.getValueAt(20, 3).toString(), jTable1.getValueAt(20, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("23", new Object[] { jTable1.getValueAt(21, 0).toString(), jTable1.getValueAt(21, 1).toString(), jTable1.getValueAt(21, 2).toString(), jTable1.getValueAt(21, 3).toString(), jTable1.getValueAt(21, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("24", new Object[] { jTable1.getValueAt(22, 0).toString(), jTable1.getValueAt(22, 1).toString(), jTable1.getValueAt(22, 2).toString(), jTable1.getValueAt(22, 3).toString(), jTable1.getValueAt(22, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("25", new Object[] { jTable1.getValueAt(23, 0).toString(), jTable1.getValueAt(23, 1).toString(), jTable1.getValueAt(23, 2).toString(), jTable1.getValueAt(23, 3).toString(), jTable1.getValueAt(23, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("26", new Object[] { jTable1.getValueAt(24, 0).toString(), jTable1.getValueAt(24, 1).toString(), jTable1.getValueAt(24, 2).toString(), jTable1.getValueAt(24, 3).toString(), jTable1.getValueAt(24, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("27", new Object[] { jTable1.getValueAt(25, 0).toString(), jTable1.getValueAt(25, 1).toString(), jTable1.getValueAt(25, 2).toString(), jTable1.getValueAt(25, 3).toString(), jTable1.getValueAt(25, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("28", new Object[] { jTable1.getValueAt(26, 0).toString(), jTable1.getValueAt(26, 1).toString(), jTable1.getValueAt(26, 2).toString(), jTable1.getValueAt(26, 3).toString(), jTable1.getValueAt(26, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("29", new Object[] { jTable1.getValueAt(27, 0).toString(), jTable1.getValueAt(27, 1).toString(), jTable1.getValueAt(27, 2).toString(), jTable1.getValueAt(27, 3).toString(), jTable1.getValueAt(27, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("30", new Object[] { jTable1.getValueAt(28, 0).toString(), jTable1.getValueAt(28, 1).toString(), jTable1.getValueAt(28, 2).toString(), jTable1.getValueAt(28, 3).toString(), jTable1.getValueAt(28, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("31", new Object[] { jTable1.getValueAt(29, 0).toString(), jTable1.getValueAt(29, 1).toString(), jTable1.getValueAt(29, 2).toString(), jTable1.getValueAt(29, 3).toString(), jTable1.getValueAt(29, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("32", new Object[] { jTable1.getValueAt(30, 0).toString(), jTable1.getValueAt(30, 1).toString(), jTable1.getValueAt(30, 2).toString(), jTable1.getValueAt(30, 3).toString(), jTable1.getValueAt(30, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("33", new Object[] { jTable1.getValueAt(31, 0).toString(), jTable1.getValueAt(31, 1).toString(), jTable1.getValueAt(31, 2).toString(), jTable1.getValueAt(31, 3).toString(), jTable1.getValueAt(31, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("34", new Object[] { jTable1.getValueAt(32, 0).toString(), jTable1.getValueAt(32, 1).toString(), jTable1.getValueAt(32, 2).toString(), jTable1.getValueAt(32, 3).toString(), jTable1.getValueAt(32, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("35", new Object[] { jTable1.getValueAt(33, 0).toString(), jTable1.getValueAt(33, 1).toString(), jTable1.getValueAt(33, 2).toString(), jTable1.getValueAt(33, 3).toString(), jTable1.getValueAt(33, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("36", new Object[] { jTable1.getValueAt(34, 0).toString(), jTable1.getValueAt(34, 1).toString(), jTable1.getValueAt(34, 2).toString(), jTable1.getValueAt(34, 3).toString(), jTable1.getValueAt(34, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("37", new Object[] { jTable1.getValueAt(35, 0).toString(), jTable1.getValueAt(35, 1).toString(), jTable1.getValueAt(35, 2).toString(), jTable1.getValueAt(35, 3).toString(), jTable1.getValueAt(35, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("38", new Object[] { jTable1.getValueAt(36, 0).toString(), jTable1.getValueAt(36, 1).toString(), jTable1.getValueAt(36, 2).toString(), jTable1.getValueAt(36, 3).toString(), jTable1.getValueAt(36, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("39", new Object[] { jTable1.getValueAt(37, 0).toString(), jTable1.getValueAt(37, 1).toString(), jTable1.getValueAt(37, 2).toString(), jTable1.getValueAt(37, 3).toString(), jTable1.getValueAt(37, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("40", new Object[] { jTable1.getValueAt(38, 0).toString(), jTable1.getValueAt(38, 1).toString(), jTable1.getValueAt(38, 2).toString(), jTable1.getValueAt(38, 3).toString(), jTable1.getValueAt(38, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("41", new Object[] { jTable1.getValueAt(39, 0).toString(), jTable1.getValueAt(39, 1).toString(), jTable1.getValueAt(39, 2).toString(), jTable1.getValueAt(39, 3).toString(), jTable1.getValueAt(39, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("42", new Object[] { jTable1.getValueAt(40, 0).toString(), jTable1.getValueAt(40, 1).toString(), jTable1.getValueAt(40, 2).toString(), jTable1.getValueAt(40, 3).toString(), jTable1.getValueAt(40, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("43", new Object[] { jTable1.getValueAt(41, 0).toString(), jTable1.getValueAt(41, 1).toString(), jTable1.getValueAt(41, 2).toString(), jTable1.getValueAt(41, 3).toString(), jTable1.getValueAt(41, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("44", new Object[] { jTable1.getValueAt(42, 0).toString(), jTable1.getValueAt(42, 1).toString(), jTable1.getValueAt(42, 2).toString(), jTable1.getValueAt(42, 3).toString(), jTable1.getValueAt(42, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("45", new Object[] { jTable1.getValueAt(43, 0).toString(), jTable1.getValueAt(43, 1).toString(), jTable1.getValueAt(43, 2).toString(), jTable1.getValueAt(43, 3).toString(), jTable1.getValueAt(43, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("46", new Object[] { jTable1.getValueAt(44, 0).toString(), jTable1.getValueAt(44, 1).toString(), jTable1.getValueAt(44, 2).toString(), jTable1.getValueAt(44, 3).toString(), jTable1.getValueAt(44, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("47", new Object[] { jTable1.getValueAt(45, 0).toString(), jTable1.getValueAt(45, 1).toString(), jTable1.getValueAt(45, 2).toString(), jTable1.getValueAt(45, 3).toString(), jTable1.getValueAt(45, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("48", new Object[] { jTable1.getValueAt(46, 0).toString(), jTable1.getValueAt(46, 1).toString(), jTable1.getValueAt(46, 2).toString(), jTable1.getValueAt(46, 3).toString(), jTable1.getValueAt(46, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("49", new Object[] { jTable1.getValueAt(47, 0).toString(), jTable1.getValueAt(47, 1).toString(), jTable1.getValueAt(47, 2).toString(), jTable1.getValueAt(47, 3).toString(), jTable1.getValueAt(47, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("50", new Object[] { jTable1.getValueAt(48, 0).toString(), jTable1.getValueAt(48, 1).toString(), jTable1.getValueAt(48, 2).toString(), jTable1.getValueAt(48, 3).toString(), jTable1.getValueAt(48, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("51", new Object[] { jTable1.getValueAt(49, 0).toString(), jTable1.getValueAt(49, 1).toString(), jTable1.getValueAt(49, 2).toString(), jTable1.getValueAt(49, 3).toString(), jTable1.getValueAt(49, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("52", new Object[] { jTable1.getValueAt(50, 0).toString(), jTable1.getValueAt(50, 1).toString(), jTable1.getValueAt(50, 2).toString(), jTable1.getValueAt(50, 3).toString(), jTable1.getValueAt(50, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("53", new Object[] { jTable1.getValueAt(51, 0).toString(), jTable1.getValueAt(51, 1).toString(), jTable1.getValueAt(51, 2).toString(), jTable1.getValueAt(51, 3).toString(), jTable1.getValueAt(51, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("54", new Object[] { jTable1.getValueAt(52, 0).toString(), jTable1.getValueAt(52, 1).toString(), jTable1.getValueAt(52, 2).toString(), jTable1.getValueAt(52, 3).toString(), jTable1.getValueAt(52, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("55", new Object[] { jTable1.getValueAt(53, 0).toString(), jTable1.getValueAt(53, 1).toString(), jTable1.getValueAt(53, 2).toString(), jTable1.getValueAt(53, 3).toString(), jTable1.getValueAt(53, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("56", new Object[] { jTable1.getValueAt(54, 0).toString(), jTable1.getValueAt(54, 1).toString(), jTable1.getValueAt(54, 2).toString(), jTable1.getValueAt(54, 3).toString(), jTable1.getValueAt(54, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("57", new Object[] { jTable1.getValueAt(55, 0).toString(), jTable1.getValueAt(55, 1).toString(), jTable1.getValueAt(55, 2).toString(), jTable1.getValueAt(55, 3).toString(), jTable1.getValueAt(55, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("58", new Object[] { jTable1.getValueAt(56, 0).toString(), jTable1.getValueAt(56, 1).toString(), jTable1.getValueAt(56, 2).toString(), jTable1.getValueAt(56, 3).toString(), jTable1.getValueAt(56, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("59", new Object[] { jTable1.getValueAt(57, 0).toString(), jTable1.getValueAt(57, 1).toString(), jTable1.getValueAt(57, 2).toString(), jTable1.getValueAt(57, 3).toString(), jTable1.getValueAt(57, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("60", new Object[] { jTable1.getValueAt(58, 0).toString(), jTable1.getValueAt(58, 1).toString(), jTable1.getValueAt(58, 2).toString(), jTable1.getValueAt(58, 3).toString(), jTable1.getValueAt(58, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("61", new Object[] { jTable1.getValueAt(59, 0).toString(), jTable1.getValueAt(59, 1).toString(), jTable1.getValueAt(59, 2).toString(), jTable1.getValueAt(59, 3).toString(), jTable1.getValueAt(59, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("62", new Object[] { jTable1.getValueAt(60, 0).toString(), jTable1.getValueAt(60, 1).toString(), jTable1.getValueAt(60, 2).toString(), jTable1.getValueAt(60, 3).toString(), jTable1.getValueAt(60, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("63", new Object[] { jTable1.getValueAt(61, 0).toString(), jTable1.getValueAt(61, 1).toString(), jTable1.getValueAt(61, 2).toString(), jTable1.getValueAt(61, 3).toString(), jTable1.getValueAt(61, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("64", new Object[] { jTable1.getValueAt(62, 0).toString(), jTable1.getValueAt(62, 1).toString(), jTable1.getValueAt(62, 2).toString(), jTable1.getValueAt(62, 3).toString(), jTable1.getValueAt(62, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("65", new Object[] { jTable1.getValueAt(63, 0).toString(), jTable1.getValueAt(63, 1).toString(), jTable1.getValueAt(63, 2).toString(), jTable1.getValueAt(63, 3).toString(), jTable1.getValueAt(63, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("66", new Object[] { jTable1.getValueAt(64, 0).toString(), jTable1.getValueAt(64, 1).toString(), jTable1.getValueAt(64, 2).toString(), jTable1.getValueAt(64, 3).toString(), jTable1.getValueAt(64, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("67", new Object[] { jTable1.getValueAt(65, 0).toString(), jTable1.getValueAt(65, 1).toString(), jTable1.getValueAt(65, 2).toString(), jTable1.getValueAt(65, 3).toString(), jTable1.getValueAt(65, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("68", new Object[] { jTable1.getValueAt(66, 0).toString(), jTable1.getValueAt(66, 1).toString(), jTable1.getValueAt(66, 2).toString(), jTable1.getValueAt(66, 3).toString(), jTable1.getValueAt(66, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("69", new Object[] { jTable1.getValueAt(67, 0).toString(), jTable1.getValueAt(67, 1).toString(), jTable1.getValueAt(67, 2).toString(), jTable1.getValueAt(67, 3).toString(), jTable1.getValueAt(67, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("70", new Object[] { jTable1.getValueAt(68, 0).toString(), jTable1.getValueAt(68, 1).toString(), jTable1.getValueAt(68, 2).toString(), jTable1.getValueAt(68, 3).toString(), jTable1.getValueAt(68, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("71", new Object[] { jTable1.getValueAt(69, 0).toString(), jTable1.getValueAt(69, 1).toString(), jTable1.getValueAt(69, 2).toString(), jTable1.getValueAt(69, 3).toString(), jTable1.getValueAt(69, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("72", new Object[] { jTable1.getValueAt(70, 0).toString(), jTable1.getValueAt(70, 1).toString(), jTable1.getValueAt(70, 2).toString(), jTable1.getValueAt(70, 3).toString(), jTable1.getValueAt(70, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("73", new Object[] { jTable1.getValueAt(71, 0).toString(), jTable1.getValueAt(71, 1).toString(), jTable1.getValueAt(71, 2).toString(), jTable1.getValueAt(71, 3).toString(), jTable1.getValueAt(71, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("74", new Object[] { jTable1.getValueAt(72, 0).toString(), jTable1.getValueAt(72, 1).toString(), jTable1.getValueAt(72, 2).toString(), jTable1.getValueAt(72, 3).toString(), jTable1.getValueAt(72, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("75", new Object[] { jTable1.getValueAt(73, 0).toString(), jTable1.getValueAt(73, 1).toString(), jTable1.getValueAt(73, 2).toString(), jTable1.getValueAt(73, 3).toString(), jTable1.getValueAt(73, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("76", new Object[] { jTable1.getValueAt(74, 0).toString(), jTable1.getValueAt(74, 1).toString(), jTable1.getValueAt(74, 2).toString(), jTable1.getValueAt(74, 3).toString(), jTable1.getValueAt(74, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("77", new Object[] { jTable1.getValueAt(75, 0).toString(), jTable1.getValueAt(75, 1).toString(), jTable1.getValueAt(75, 2).toString(), jTable1.getValueAt(75, 3).toString(), jTable1.getValueAt(75, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("78", new Object[] { jTable1.getValueAt(76, 0).toString(), jTable1.getValueAt(76, 1).toString(), jTable1.getValueAt(76, 2).toString(), jTable1.getValueAt(76, 3).toString(), jTable1.getValueAt(76, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("79", new Object[] { jTable1.getValueAt(77, 0).toString(), jTable1.getValueAt(77, 1).toString(), jTable1.getValueAt(77, 2).toString(), jTable1.getValueAt(77, 3).toString(), jTable1.getValueAt(77, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("80", new Object[] { jTable1.getValueAt(78, 0).toString(), jTable1.getValueAt(78, 1).toString(), jTable1.getValueAt(78, 2).toString(), jTable1.getValueAt(78, 3).toString(), jTable1.getValueAt(78, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("81", new Object[] { jTable1.getValueAt(79, 0).toString(), jTable1.getValueAt(79, 1).toString(), jTable1.getValueAt(79, 2).toString(), jTable1.getValueAt(79, 3).toString(), jTable1.getValueAt(79, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("82", new Object[] { jTable1.getValueAt(80, 0).toString(), jTable1.getValueAt(80, 1).toString(), jTable1.getValueAt(80, 2).toString(), jTable1.getValueAt(80, 3).toString(), jTable1.getValueAt(80, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("83", new Object[] { jTable1.getValueAt(81, 0).toString(), jTable1.getValueAt(81, 1).toString(), jTable1.getValueAt(81, 2).toString(), jTable1.getValueAt(81, 3).toString(), jTable1.getValueAt(81, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("84", new Object[] { jTable1.getValueAt(82, 0).toString(), jTable1.getValueAt(82, 1).toString(), jTable1.getValueAt(82, 2).toString(), jTable1.getValueAt(82, 3).toString(), jTable1.getValueAt(82, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("85", new Object[] { jTable1.getValueAt(83, 0).toString(), jTable1.getValueAt(83, 1).toString(), jTable1.getValueAt(83, 2).toString(), jTable1.getValueAt(83, 3).toString(), jTable1.getValueAt(83, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("86", new Object[] { jTable1.getValueAt(84, 0).toString(), jTable1.getValueAt(84, 1).toString(), jTable1.getValueAt(84, 2).toString(), jTable1.getValueAt(84, 3).toString(), jTable1.getValueAt(84, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("87", new Object[] { jTable1.getValueAt(85, 0).toString(), jTable1.getValueAt(85, 1).toString(), jTable1.getValueAt(85, 2).toString(), jTable1.getValueAt(85, 3).toString(), jTable1.getValueAt(85, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("88", new Object[] { jTable1.getValueAt(86, 0).toString(), jTable1.getValueAt(86, 1).toString(), jTable1.getValueAt(86, 2).toString(), jTable1.getValueAt(86, 3).toString(), jTable1.getValueAt(86, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("89", new Object[] { jTable1.getValueAt(87, 0).toString(), jTable1.getValueAt(87, 1).toString(), jTable1.getValueAt(87, 2).toString(), jTable1.getValueAt(87, 3).toString(), jTable1.getValueAt(87, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("90", new Object[] { jTable1.getValueAt(88, 0).toString(), jTable1.getValueAt(88, 1).toString(), jTable1.getValueAt(88, 2).toString(), jTable1.getValueAt(88, 3).toString(), jTable1.getValueAt(88, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("91", new Object[] { jTable1.getValueAt(89, 0).toString(), jTable1.getValueAt(89, 1).toString(), jTable1.getValueAt(89, 2).toString(), jTable1.getValueAt(89, 3).toString(), jTable1.getValueAt(89, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("92", new Object[] { jTable1.getValueAt(90, 0).toString(), jTable1.getValueAt(90, 1).toString(), jTable1.getValueAt(90, 2).toString(), jTable1.getValueAt(90, 3).toString(), jTable1.getValueAt(90, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("93", new Object[] { jTable1.getValueAt(91, 0).toString(), jTable1.getValueAt(91, 1).toString(), jTable1.getValueAt(91, 2).toString(), jTable1.getValueAt(91, 3).toString(), jTable1.getValueAt(91, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("94", new Object[] { jTable1.getValueAt(92, 0).toString(), jTable1.getValueAt(92, 1).toString(), jTable1.getValueAt(92, 2).toString(), jTable1.getValueAt(92, 3).toString(), jTable1.getValueAt(92, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("95", new Object[] { jTable1.getValueAt(93, 0).toString(), jTable1.getValueAt(93, 1).toString(), jTable1.getValueAt(93, 2).toString(), jTable1.getValueAt(93, 3).toString(), jTable1.getValueAt(93, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("96", new Object[] { jTable1.getValueAt(94, 0).toString(), jTable1.getValueAt(94, 1).toString(), jTable1.getValueAt(94, 2).toString(), jTable1.getValueAt(94, 3).toString(), jTable1.getValueAt(94, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("97", new Object[] { jTable1.getValueAt(95, 0).toString(), jTable1.getValueAt(95, 1).toString(), jTable1.getValueAt(95, 2).toString(), jTable1.getValueAt(95, 3).toString(), jTable1.getValueAt(95, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("98", new Object[] { jTable1.getValueAt(96, 0).toString(), jTable1.getValueAt(96, 1).toString(), jTable1.getValueAt(96, 2).toString(), jTable1.getValueAt(96, 3).toString(), jTable1.getValueAt(96, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("99", new Object[] { jTable1.getValueAt(97, 0).toString(), jTable1.getValueAt(97, 1).toString(), jTable1.getValueAt(97, 2).toString(), jTable1.getValueAt(97, 3).toString(), jTable1.getValueAt(97, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("100", new Object[] { jTable1.getValueAt(98, 0).toString(), jTable1.getValueAt(98, 1).toString(), jTable1.getValueAt(98, 2).toString(), jTable1.getValueAt(98, 3).toString(), jTable1.getValueAt(98, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("101", new Object[] { jTable1.getValueAt(99, 0).toString(), jTable1.getValueAt(99, 1).toString(), jTable1.getValueAt(99, 2).toString(), jTable1.getValueAt(99, 3).toString(), jTable1.getValueAt(99, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("102", new Object[] { jTable1.getValueAt(100, 0).toString(), jTable1.getValueAt(100, 1).toString(), jTable1.getValueAt(100, 2).toString(), jTable1.getValueAt(100, 3).toString(), jTable1.getValueAt(100, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("103", new Object[] { jTable1.getValueAt(101, 0).toString(), jTable1.getValueAt(101, 1).toString(), jTable1.getValueAt(101, 2).toString(), jTable1.getValueAt(101, 3).toString(), jTable1.getValueAt(101, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("104", new Object[] { jTable1.getValueAt(102, 0).toString(), jTable1.getValueAt(102, 1).toString(), jTable1.getValueAt(102, 2).toString(), jTable1.getValueAt(102, 3).toString(), jTable1.getValueAt(102, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("105", new Object[] { jTable1.getValueAt(103, 0).toString(), jTable1.getValueAt(103, 1).toString(), jTable1.getValueAt(103, 2).toString(), jTable1.getValueAt(103, 3).toString(), jTable1.getValueAt(103, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("106", new Object[] { jTable1.getValueAt(104, 0).toString(), jTable1.getValueAt(104, 1).toString(), jTable1.getValueAt(104, 2).toString(), jTable1.getValueAt(104, 3).toString(), jTable1.getValueAt(104, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("107", new Object[] { jTable1.getValueAt(105, 0).toString(), jTable1.getValueAt(105, 1).toString(), jTable1.getValueAt(105, 2).toString(), jTable1.getValueAt(105, 3).toString(), jTable1.getValueAt(105, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("108", new Object[] { jTable1.getValueAt(106, 0).toString(), jTable1.getValueAt(106, 1).toString(), jTable1.getValueAt(106, 2).toString(), jTable1.getValueAt(106, 3).toString(), jTable1.getValueAt(106, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("109", new Object[] { jTable1.getValueAt(107, 0).toString(), jTable1.getValueAt(107, 1).toString(), jTable1.getValueAt(107, 2).toString(), jTable1.getValueAt(107, 3).toString(), jTable1.getValueAt(107, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("110", new Object[] { jTable1.getValueAt(108, 0).toString(), jTable1.getValueAt(108, 1).toString(), jTable1.getValueAt(108, 2).toString(), jTable1.getValueAt(108, 3).toString(), jTable1.getValueAt(108, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("111", new Object[] { jTable1.getValueAt(109, 0).toString(), jTable1.getValueAt(109, 1).toString(), jTable1.getValueAt(109, 2).toString(), jTable1.getValueAt(109, 3).toString(), jTable1.getValueAt(109, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("112", new Object[] { jTable1.getValueAt(110, 0).toString(), jTable1.getValueAt(110, 1).toString(), jTable1.getValueAt(110, 2).toString(), jTable1.getValueAt(110, 3).toString(), jTable1.getValueAt(110, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("113", new Object[] { jTable1.getValueAt(111, 0).toString(), jTable1.getValueAt(111, 1).toString(), jTable1.getValueAt(111, 2).toString(), jTable1.getValueAt(111, 3).toString(), jTable1.getValueAt(111, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("114", new Object[] { jTable1.getValueAt(112, 0).toString(), jTable1.getValueAt(112, 1).toString(), jTable1.getValueAt(112, 2).toString(), jTable1.getValueAt(112, 3).toString(), jTable1.getValueAt(112, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("115", new Object[] { jTable1.getValueAt(113, 0).toString(), jTable1.getValueAt(113, 1).toString(), jTable1.getValueAt(113, 2).toString(), jTable1.getValueAt(113, 3).toString(), jTable1.getValueAt(113, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("116", new Object[] { jTable1.getValueAt(114, 0).toString(), jTable1.getValueAt(114, 1).toString(), jTable1.getValueAt(114, 2).toString(), jTable1.getValueAt(114, 3).toString(), jTable1.getValueAt(114, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("117", new Object[] { jTable1.getValueAt(115, 0).toString(), jTable1.getValueAt(115, 1).toString(), jTable1.getValueAt(115, 2).toString(), jTable1.getValueAt(115, 3).toString(), jTable1.getValueAt(115, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("118", new Object[] { jTable1.getValueAt(116, 0).toString(), jTable1.getValueAt(116, 1).toString(), jTable1.getValueAt(116, 2).toString(), jTable1.getValueAt(116, 3).toString(), jTable1.getValueAt(116, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("119", new Object[] { jTable1.getValueAt(117, 0).toString(), jTable1.getValueAt(117, 1).toString(), jTable1.getValueAt(117, 2).toString(), jTable1.getValueAt(117, 3).toString(), jTable1.getValueAt(117, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("120", new Object[] { jTable1.getValueAt(118, 0).toString(), jTable1.getValueAt(118, 1).toString(), jTable1.getValueAt(118, 2).toString(), jTable1.getValueAt(118, 3).toString(), jTable1.getValueAt(118, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("121", new Object[] { jTable1.getValueAt(119, 0).toString(), jTable1.getValueAt(119, 1).toString(), jTable1.getValueAt(119, 2).toString(), jTable1.getValueAt(119, 3).toString(), jTable1.getValueAt(119, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("122", new Object[] { jTable1.getValueAt(120, 0).toString(), jTable1.getValueAt(120, 1).toString(), jTable1.getValueAt(120, 2).toString(), jTable1.getValueAt(120, 3).toString(), jTable1.getValueAt(120, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("123", new Object[] { jTable1.getValueAt(121, 0).toString(), jTable1.getValueAt(121, 1).toString(), jTable1.getValueAt(121, 2).toString(), jTable1.getValueAt(121, 3).toString(), jTable1.getValueAt(121, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("124", new Object[] { jTable1.getValueAt(122, 0).toString(), jTable1.getValueAt(122, 1).toString(), jTable1.getValueAt(122, 2).toString(), jTable1.getValueAt(122, 3).toString(), jTable1.getValueAt(122, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("125", new Object[] { jTable1.getValueAt(123, 0).toString(), jTable1.getValueAt(123, 1).toString(), jTable1.getValueAt(123, 2).toString(), jTable1.getValueAt(123, 3).toString(), jTable1.getValueAt(123, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("126", new Object[] { jTable1.getValueAt(124, 0).toString(), jTable1.getValueAt(124, 1).toString(), jTable1.getValueAt(124, 2).toString(), jTable1.getValueAt(124, 3).toString(), jTable1.getValueAt(124, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("127", new Object[] { jTable1.getValueAt(125, 0).toString(), jTable1.getValueAt(125, 1).toString(), jTable1.getValueAt(125, 2).toString(), jTable1.getValueAt(125, 3).toString(), jTable1.getValueAt(125, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("128", new Object[] { jTable1.getValueAt(126, 0).toString(), jTable1.getValueAt(126, 1).toString(), jTable1.getValueAt(126, 2).toString(), jTable1.getValueAt(126, 3).toString(), jTable1.getValueAt(126, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("129", new Object[] { jTable1.getValueAt(127, 0).toString(), jTable1.getValueAt(127, 1).toString(), jTable1.getValueAt(127, 2).toString(), jTable1.getValueAt(127, 3).toString(), jTable1.getValueAt(127, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("130", new Object[] { jTable1.getValueAt(128, 0).toString(), jTable1.getValueAt(128, 1).toString(), jTable1.getValueAt(128, 2).toString(), jTable1.getValueAt(128, 3).toString(), jTable1.getValueAt(128, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("131", new Object[] { jTable1.getValueAt(129, 0).toString(), jTable1.getValueAt(129, 1).toString(), jTable1.getValueAt(129, 2).toString(), jTable1.getValueAt(129, 3).toString(), jTable1.getValueAt(129, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("132", new Object[] { jTable1.getValueAt(130, 0).toString(), jTable1.getValueAt(130, 1).toString(), jTable1.getValueAt(130, 2).toString(), jTable1.getValueAt(130, 3).toString(), jTable1.getValueAt(130, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("133", new Object[] { jTable1.getValueAt(131, 0).toString(), jTable1.getValueAt(131, 1).toString(), jTable1.getValueAt(131, 2).toString(), jTable1.getValueAt(131, 3).toString(), jTable1.getValueAt(131, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("134", new Object[] { jTable1.getValueAt(132, 0).toString(), jTable1.getValueAt(132, 1).toString(), jTable1.getValueAt(132, 2).toString(), jTable1.getValueAt(132, 3).toString(), jTable1.getValueAt(132, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("135", new Object[] { jTable1.getValueAt(133, 0).toString(), jTable1.getValueAt(133, 1).toString(), jTable1.getValueAt(133, 2).toString(), jTable1.getValueAt(133, 3).toString(), jTable1.getValueAt(133, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("136", new Object[] { jTable1.getValueAt(134, 0).toString(), jTable1.getValueAt(134, 1).toString(), jTable1.getValueAt(134, 2).toString(), jTable1.getValueAt(134, 3).toString(), jTable1.getValueAt(134, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("137", new Object[] { jTable1.getValueAt(135, 0).toString(), jTable1.getValueAt(135, 1).toString(), jTable1.getValueAt(135, 2).toString(), jTable1.getValueAt(135, 3).toString(), jTable1.getValueAt(135, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("138", new Object[] { jTable1.getValueAt(136, 0).toString(), jTable1.getValueAt(136, 1).toString(), jTable1.getValueAt(136, 2).toString(), jTable1.getValueAt(136, 3).toString(), jTable1.getValueAt(136, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("139", new Object[] { jTable1.getValueAt(137, 0).toString(), jTable1.getValueAt(137, 1).toString(), jTable1.getValueAt(137, 2).toString(), jTable1.getValueAt(137, 3).toString(), jTable1.getValueAt(137, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("140", new Object[] { jTable1.getValueAt(138, 0).toString(), jTable1.getValueAt(138, 1).toString(), jTable1.getValueAt(138, 2).toString(), jTable1.getValueAt(138, 3).toString(), jTable1.getValueAt(138, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("141", new Object[] { jTable1.getValueAt(139, 0).toString(), jTable1.getValueAt(139, 1).toString(), jTable1.getValueAt(139, 2).toString(), jTable1.getValueAt(139, 3).toString(), jTable1.getValueAt(139, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("142", new Object[] { jTable1.getValueAt(140, 0).toString(), jTable1.getValueAt(140, 1).toString(), jTable1.getValueAt(140, 2).toString(), jTable1.getValueAt(140, 3).toString(), jTable1.getValueAt(140, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("143", new Object[] { jTable1.getValueAt(141, 0).toString(), jTable1.getValueAt(141, 1).toString(), jTable1.getValueAt(141, 2).toString(), jTable1.getValueAt(141, 3).toString(), jTable1.getValueAt(141, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("144", new Object[] { jTable1.getValueAt(142, 0).toString(), jTable1.getValueAt(142, 1).toString(), jTable1.getValueAt(142, 2).toString(), jTable1.getValueAt(142, 3).toString(), jTable1.getValueAt(142, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("145", new Object[] { jTable1.getValueAt(143, 0).toString(), jTable1.getValueAt(143, 1).toString(), jTable1.getValueAt(143, 2).toString(), jTable1.getValueAt(143, 3).toString(), jTable1.getValueAt(143, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("146", new Object[] { jTable1.getValueAt(144, 0).toString(), jTable1.getValueAt(144, 1).toString(), jTable1.getValueAt(144, 2).toString(), jTable1.getValueAt(144, 3).toString(), jTable1.getValueAt(144, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("147", new Object[] { jTable1.getValueAt(145, 0).toString(), jTable1.getValueAt(145, 1).toString(), jTable1.getValueAt(145, 2).toString(), jTable1.getValueAt(145, 3).toString(), jTable1.getValueAt(145, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("148", new Object[] { jTable1.getValueAt(146, 0).toString(), jTable1.getValueAt(146, 1).toString(), jTable1.getValueAt(146, 2).toString(), jTable1.getValueAt(146, 3).toString(), jTable1.getValueAt(146, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("149", new Object[] { jTable1.getValueAt(147, 0).toString(), jTable1.getValueAt(147, 1).toString(), jTable1.getValueAt(147, 2).toString(), jTable1.getValueAt(147, 3).toString(), jTable1.getValueAt(147, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("150", new Object[] { jTable1.getValueAt(148, 0).toString(), jTable1.getValueAt(148, 1).toString(), jTable1.getValueAt(148, 2).toString(), jTable1.getValueAt(148, 3).toString(), jTable1.getValueAt(148, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("151", new Object[] { jTable1.getValueAt(149, 0).toString(), jTable1.getValueAt(149, 1).toString(), jTable1.getValueAt(149, 2).toString(), jTable1.getValueAt(149, 3).toString(), jTable1.getValueAt(149, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("152", new Object[] { jTable1.getValueAt(150, 0).toString(), jTable1.getValueAt(150, 1).toString(), jTable1.getValueAt(150, 2).toString(), jTable1.getValueAt(150, 3).toString(), jTable1.getValueAt(150, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("153", new Object[] { jTable1.getValueAt(151, 0).toString(), jTable1.getValueAt(151, 1).toString(), jTable1.getValueAt(151, 2).toString(), jTable1.getValueAt(151, 3).toString(), jTable1.getValueAt(151, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("154", new Object[] { jTable1.getValueAt(152, 0).toString(), jTable1.getValueAt(152, 1).toString(), jTable1.getValueAt(152, 2).toString(), jTable1.getValueAt(152, 3).toString(), jTable1.getValueAt(152, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("155", new Object[] { jTable1.getValueAt(153, 0).toString(), jTable1.getValueAt(153, 1).toString(), jTable1.getValueAt(153, 2).toString(), jTable1.getValueAt(153, 3).toString(), jTable1.getValueAt(153, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("156", new Object[] { jTable1.getValueAt(154, 0).toString(), jTable1.getValueAt(154, 1).toString(), jTable1.getValueAt(154, 2).toString(), jTable1.getValueAt(154, 3).toString(), jTable1.getValueAt(154, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("157", new Object[] { jTable1.getValueAt(155, 0).toString(), jTable1.getValueAt(155, 1).toString(), jTable1.getValueAt(155, 2).toString(), jTable1.getValueAt(155, 3).toString(), jTable1.getValueAt(155, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("158", new Object[] { jTable1.getValueAt(156, 0).toString(), jTable1.getValueAt(156, 1).toString(), jTable1.getValueAt(156, 2).toString(), jTable1.getValueAt(156, 3).toString(), jTable1.getValueAt(156, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("159", new Object[] { jTable1.getValueAt(157, 0).toString(), jTable1.getValueAt(157, 1).toString(), jTable1.getValueAt(157, 2).toString(), jTable1.getValueAt(157, 3).toString(), jTable1.getValueAt(157, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("160", new Object[] { jTable1.getValueAt(158, 0).toString(), jTable1.getValueAt(158, 1).toString(), jTable1.getValueAt(158, 2).toString(), jTable1.getValueAt(158, 3).toString(), jTable1.getValueAt(158, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("161", new Object[] { jTable1.getValueAt(159, 0).toString(), jTable1.getValueAt(159, 1).toString(), jTable1.getValueAt(159, 2).toString(), jTable1.getValueAt(159, 3).toString(), jTable1.getValueAt(159, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("162", new Object[] { jTable1.getValueAt(160, 0).toString(), jTable1.getValueAt(160, 1).toString(), jTable1.getValueAt(160, 2).toString(), jTable1.getValueAt(160, 3).toString(), jTable1.getValueAt(160, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("163", new Object[] { jTable1.getValueAt(161, 0).toString(), jTable1.getValueAt(161, 1).toString(), jTable1.getValueAt(161, 2).toString(), jTable1.getValueAt(161, 3).toString(), jTable1.getValueAt(161, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("164", new Object[] { jTable1.getValueAt(162, 0).toString(), jTable1.getValueAt(162, 1).toString(), jTable1.getValueAt(162, 2).toString(), jTable1.getValueAt(162, 3).toString(), jTable1.getValueAt(162, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("165", new Object[] { jTable1.getValueAt(163, 0).toString(), jTable1.getValueAt(163, 1).toString(), jTable1.getValueAt(163, 2).toString(), jTable1.getValueAt(163, 3).toString(), jTable1.getValueAt(163, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("166", new Object[] { jTable1.getValueAt(164, 0).toString(), jTable1.getValueAt(164, 1).toString(), jTable1.getValueAt(164, 2).toString(), jTable1.getValueAt(164, 3).toString(), jTable1.getValueAt(164, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("167", new Object[] { jTable1.getValueAt(165, 0).toString(), jTable1.getValueAt(165, 1).toString(), jTable1.getValueAt(165, 2).toString(), jTable1.getValueAt(165, 3).toString(), jTable1.getValueAt(165, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("168", new Object[] { jTable1.getValueAt(166, 0).toString(), jTable1.getValueAt(166, 1).toString(), jTable1.getValueAt(166, 2).toString(), jTable1.getValueAt(166, 3).toString(), jTable1.getValueAt(166, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("169", new Object[] { jTable1.getValueAt(167, 0).toString(), jTable1.getValueAt(167, 1).toString(), jTable1.getValueAt(167, 2).toString(), jTable1.getValueAt(167, 3).toString(), jTable1.getValueAt(167, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("170", new Object[] { jTable1.getValueAt(168, 0).toString(), jTable1.getValueAt(168, 1).toString(), jTable1.getValueAt(168, 2).toString(), jTable1.getValueAt(168, 3).toString(), jTable1.getValueAt(168, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("171", new Object[] { jTable1.getValueAt(169, 0).toString(), jTable1.getValueAt(169, 1).toString(), jTable1.getValueAt(169, 2).toString(), jTable1.getValueAt(169, 3).toString(), jTable1.getValueAt(169, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("172", new Object[] { jTable1.getValueAt(170, 0).toString(), jTable1.getValueAt(170, 1).toString(), jTable1.getValueAt(170, 2).toString(), jTable1.getValueAt(170, 3).toString(), jTable1.getValueAt(170, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("173", new Object[] { jTable1.getValueAt(171, 0).toString(), jTable1.getValueAt(171, 1).toString(), jTable1.getValueAt(171, 2).toString(), jTable1.getValueAt(171, 3).toString(), jTable1.getValueAt(171, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("174", new Object[] { jTable1.getValueAt(172, 0).toString(), jTable1.getValueAt(172, 1).toString(), jTable1.getValueAt(172, 2).toString(), jTable1.getValueAt(172, 3).toString(), jTable1.getValueAt(172, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("175", new Object[] { jTable1.getValueAt(173, 0).toString(), jTable1.getValueAt(173, 1).toString(), jTable1.getValueAt(173, 2).toString(), jTable1.getValueAt(173, 3).toString(), jTable1.getValueAt(173, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("176", new Object[] { jTable1.getValueAt(174, 0).toString(), jTable1.getValueAt(174, 1).toString(), jTable1.getValueAt(174, 2).toString(), jTable1.getValueAt(174, 3).toString(), jTable1.getValueAt(174, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("177", new Object[] { jTable1.getValueAt(175, 0).toString(), jTable1.getValueAt(175, 1).toString(), jTable1.getValueAt(175, 2).toString(), jTable1.getValueAt(175, 3).toString(), jTable1.getValueAt(175, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("178", new Object[] { jTable1.getValueAt(176, 0).toString(), jTable1.getValueAt(176, 1).toString(), jTable1.getValueAt(176, 2).toString(), jTable1.getValueAt(176, 3).toString(), jTable1.getValueAt(176, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("179", new Object[] { jTable1.getValueAt(177, 0).toString(), jTable1.getValueAt(177, 1).toString(), jTable1.getValueAt(177, 2).toString(), jTable1.getValueAt(177, 3).toString(), jTable1.getValueAt(177, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("180", new Object[] { jTable1.getValueAt(178, 0).toString(), jTable1.getValueAt(178, 1).toString(), jTable1.getValueAt(178, 2).toString(), jTable1.getValueAt(178, 3).toString(), jTable1.getValueAt(178, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("181", new Object[] { jTable1.getValueAt(179, 0).toString(), jTable1.getValueAt(179, 1).toString(), jTable1.getValueAt(179, 2).toString(), jTable1.getValueAt(179, 3).toString(), jTable1.getValueAt(179, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("182", new Object[] { jTable1.getValueAt(180, 0).toString(), jTable1.getValueAt(180, 1).toString(), jTable1.getValueAt(180, 2).toString(), jTable1.getValueAt(180, 3).toString(), jTable1.getValueAt(180, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("183", new Object[] { jTable1.getValueAt(181, 0).toString(), jTable1.getValueAt(181, 1).toString(), jTable1.getValueAt(181, 2).toString(), jTable1.getValueAt(181, 3).toString(), jTable1.getValueAt(181, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("184", new Object[] { jTable1.getValueAt(182, 0).toString(), jTable1.getValueAt(182, 1).toString(), jTable1.getValueAt(182, 2).toString(), jTable1.getValueAt(182, 3).toString(), jTable1.getValueAt(182, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("185", new Object[] { jTable1.getValueAt(183, 0).toString(), jTable1.getValueAt(183, 1).toString(), jTable1.getValueAt(183, 2).toString(), jTable1.getValueAt(183, 3).toString(), jTable1.getValueAt(183, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("186", new Object[] { jTable1.getValueAt(184, 0).toString(), jTable1.getValueAt(184, 1).toString(), jTable1.getValueAt(184, 2).toString(), jTable1.getValueAt(184, 3).toString(), jTable1.getValueAt(184, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("187", new Object[] { jTable1.getValueAt(185, 0).toString(), jTable1.getValueAt(185, 1).toString(), jTable1.getValueAt(185, 2).toString(), jTable1.getValueAt(185, 3).toString(), jTable1.getValueAt(185, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("188", new Object[] { jTable1.getValueAt(186, 0).toString(), jTable1.getValueAt(186, 1).toString(), jTable1.getValueAt(186, 2).toString(), jTable1.getValueAt(186, 3).toString(), jTable1.getValueAt(186, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("189", new Object[] { jTable1.getValueAt(187, 0).toString(), jTable1.getValueAt(187, 1).toString(), jTable1.getValueAt(187, 2).toString(), jTable1.getValueAt(187, 3).toString(), jTable1.getValueAt(187, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("190", new Object[] { jTable1.getValueAt(188, 0).toString(), jTable1.getValueAt(188, 1).toString(), jTable1.getValueAt(188, 2).toString(), jTable1.getValueAt(188, 3).toString(), jTable1.getValueAt(188, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("191", new Object[] { jTable1.getValueAt(189, 0).toString(), jTable1.getValueAt(189, 1).toString(), jTable1.getValueAt(189, 2).toString(), jTable1.getValueAt(189, 3).toString(), jTable1.getValueAt(189, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("192", new Object[] { jTable1.getValueAt(190, 0).toString(), jTable1.getValueAt(190, 1).toString(), jTable1.getValueAt(190, 2).toString(), jTable1.getValueAt(190, 3).toString(), jTable1.getValueAt(190, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("193", new Object[] { jTable1.getValueAt(191, 0).toString(), jTable1.getValueAt(191, 1).toString(), jTable1.getValueAt(191, 2).toString(), jTable1.getValueAt(191, 3).toString(), jTable1.getValueAt(191, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("194", new Object[] { jTable1.getValueAt(192, 0).toString(), jTable1.getValueAt(192, 1).toString(), jTable1.getValueAt(192, 2).toString(), jTable1.getValueAt(192, 3).toString(), jTable1.getValueAt(192, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("195", new Object[] { jTable1.getValueAt(193, 0).toString(), jTable1.getValueAt(193, 1).toString(), jTable1.getValueAt(193, 2).toString(), jTable1.getValueAt(193, 3).toString(), jTable1.getValueAt(193, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("196", new Object[] { jTable1.getValueAt(194, 0).toString(), jTable1.getValueAt(194, 1).toString(), jTable1.getValueAt(194, 2).toString(), jTable1.getValueAt(194, 3).toString(), jTable1.getValueAt(194, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("197", new Object[] { jTable1.getValueAt(195, 0).toString(), jTable1.getValueAt(195, 1).toString(), jTable1.getValueAt(195, 2).toString(), jTable1.getValueAt(195, 3).toString(), jTable1.getValueAt(195, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("198", new Object[] { jTable1.getValueAt(196, 0).toString(), jTable1.getValueAt(196, 1).toString(), jTable1.getValueAt(196, 2).toString(), jTable1.getValueAt(196, 3).toString(), jTable1.getValueAt(196, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("199", new Object[] { jTable1.getValueAt(197, 0).toString(), jTable1.getValueAt(197, 1).toString(), jTable1.getValueAt(197, 2).toString(), jTable1.getValueAt(197, 3).toString(), jTable1.getValueAt(197, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("200", new Object[] { jTable1.getValueAt(198, 0).toString(), jTable1.getValueAt(198, 1).toString(), jTable1.getValueAt(198, 2).toString(), jTable1.getValueAt(198, 3).toString(), jTable1.getValueAt(198, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("201", new Object[] { jTable1.getValueAt(199, 0).toString(), jTable1.getValueAt(199, 1).toString(), jTable1.getValueAt(199, 2).toString(), jTable1.getValueAt(199, 3).toString(), jTable1.getValueAt(199, 4).toString() }); i++; } else break; } Set<String> keyset = data.keySet(); int rownum = 0; for (String key : keyset) { Row row = sheet.createRow(rownum++); Object[] objArr = data.get(key); int cellnum = 0; for (Object obj : objArr) { XSSFCell cell = (XSSFCell) row.createCell(cellnum++); if (obj instanceof String) cell.setCellValue((String) obj); else if (obj instanceof Integer) cell.setCellValue((Integer) obj); } } try { //Write the workbook in file system FileOutputStream out = new FileOutputStream(new File(filename + ".xlsx")); workbook.write(out); out.close(); JOptionPane.showMessageDialog(null, "Data exported to excel sheet"); } catch (Exception e) { e.printStackTrace(); } }
From source file:mymoney.view.java
private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed JFileChooser cho = new JFileChooser(); cho.showSaveDialog(null);// w ww.j a v a2 s . c o m File f = cho.getSelectedFile(); String filename = f.getAbsolutePath(); DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); XSSFWorkbook workbook = new XSSFWorkbook(); XSSFSheet sheet = workbook.createSheet("New Data"); TreeMap<String, Object[]> data = new TreeMap<String, Object[]>(); data.put("1", new Object[] { "DATE", "NAME", "AMOUNT", "CATEGORY", "TYPE" }); for (int i = 0;;) { if (jTable1.getRowCount() != i) { data.put("2", new Object[] { jTable1.getValueAt(0, 0).toString(), jTable1.getValueAt(0, 1).toString(), jTable1.getValueAt(0, 2).toString(), jTable1.getValueAt(0, 3).toString(), jTable1.getValueAt(0, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("3", new Object[] { jTable1.getValueAt(1, 0).toString(), jTable1.getValueAt(1, 1).toString(), jTable1.getValueAt(1, 2).toString(), jTable1.getValueAt(1, 3).toString(), jTable1.getValueAt(1, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("4", new Object[] { jTable1.getValueAt(2, 0).toString(), jTable1.getValueAt(2, 1).toString(), jTable1.getValueAt(2, 2).toString(), jTable1.getValueAt(2, 3).toString(), jTable1.getValueAt(2, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("5", new Object[] { jTable1.getValueAt(3, 0).toString(), jTable1.getValueAt(3, 1).toString(), jTable1.getValueAt(3, 2).toString(), jTable1.getValueAt(3, 3).toString(), jTable1.getValueAt(3, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("6", new Object[] { jTable1.getValueAt(4, 0).toString(), jTable1.getValueAt(4, 1).toString(), jTable1.getValueAt(4, 2).toString(), jTable1.getValueAt(4, 3).toString(), jTable1.getValueAt(4, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("7", new Object[] { jTable1.getValueAt(5, 0).toString(), jTable1.getValueAt(5, 1).toString(), jTable1.getValueAt(5, 2).toString(), jTable1.getValueAt(5, 3).toString(), jTable1.getValueAt(5, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("8", new Object[] { jTable1.getValueAt(6, 0).toString(), jTable1.getValueAt(6, 1).toString(), jTable1.getValueAt(6, 2).toString(), jTable1.getValueAt(6, 3).toString(), jTable1.getValueAt(6, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("9", new Object[] { jTable1.getValueAt(7, 0).toString(), jTable1.getValueAt(7, 1).toString(), jTable1.getValueAt(7, 2).toString(), jTable1.getValueAt(7, 3).toString(), jTable1.getValueAt(7, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("10", new Object[] { jTable1.getValueAt(8, 0).toString(), jTable1.getValueAt(8, 1).toString(), jTable1.getValueAt(8, 2).toString(), jTable1.getValueAt(8, 3).toString(), jTable1.getValueAt(8, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("11", new Object[] { jTable1.getValueAt(9, 0).toString(), jTable1.getValueAt(9, 1).toString(), jTable1.getValueAt(9, 2).toString(), jTable1.getValueAt(9, 3).toString(), jTable1.getValueAt(9, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("12", new Object[] { jTable1.getValueAt(10, 0).toString(), jTable1.getValueAt(10, 1).toString(), jTable1.getValueAt(10, 2).toString(), jTable1.getValueAt(10, 3).toString(), jTable1.getValueAt(10, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("13", new Object[] { jTable1.getValueAt(11, 0).toString(), jTable1.getValueAt(11, 1).toString(), jTable1.getValueAt(11, 2).toString(), jTable1.getValueAt(11, 3).toString(), jTable1.getValueAt(11, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("14", new Object[] { jTable1.getValueAt(12, 0).toString(), jTable1.getValueAt(12, 1).toString(), jTable1.getValueAt(12, 2).toString(), jTable1.getValueAt(12, 3).toString(), jTable1.getValueAt(12, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("15", new Object[] { jTable1.getValueAt(13, 0).toString(), jTable1.getValueAt(13, 1).toString(), jTable1.getValueAt(13, 2).toString(), jTable1.getValueAt(13, 3).toString(), jTable1.getValueAt(13, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("16", new Object[] { jTable1.getValueAt(14, 0).toString(), jTable1.getValueAt(14, 1).toString(), jTable1.getValueAt(14, 2).toString(), jTable1.getValueAt(14, 3).toString(), jTable1.getValueAt(14, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("17", new Object[] { jTable1.getValueAt(15, 0).toString(), jTable1.getValueAt(15, 1).toString(), jTable1.getValueAt(15, 2).toString(), jTable1.getValueAt(15, 3).toString(), jTable1.getValueAt(15, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("18", new Object[] { jTable1.getValueAt(16, 0).toString(), jTable1.getValueAt(16, 1).toString(), jTable1.getValueAt(16, 2).toString(), jTable1.getValueAt(16, 3).toString(), jTable1.getValueAt(16, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("19", new Object[] { jTable1.getValueAt(17, 0).toString(), jTable1.getValueAt(17, 1).toString(), jTable1.getValueAt(17, 2).toString(), jTable1.getValueAt(17, 3).toString(), jTable1.getValueAt(17, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("20", new Object[] { jTable1.getValueAt(18, 0).toString(), jTable1.getValueAt(18, 1).toString(), jTable1.getValueAt(18, 2).toString(), jTable1.getValueAt(18, 3).toString(), jTable1.getValueAt(18, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("21", new Object[] { jTable1.getValueAt(19, 0).toString(), jTable1.getValueAt(19, 1).toString(), jTable1.getValueAt(19, 2).toString(), jTable1.getValueAt(19, 3).toString(), jTable1.getValueAt(19, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("22", new Object[] { jTable1.getValueAt(20, 0).toString(), jTable1.getValueAt(20, 1).toString(), jTable1.getValueAt(20, 2).toString(), jTable1.getValueAt(20, 3).toString(), jTable1.getValueAt(20, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("23", new Object[] { jTable1.getValueAt(21, 0).toString(), jTable1.getValueAt(21, 1).toString(), jTable1.getValueAt(21, 2).toString(), jTable1.getValueAt(21, 3).toString(), jTable1.getValueAt(21, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("24", new Object[] { jTable1.getValueAt(22, 0).toString(), jTable1.getValueAt(22, 1).toString(), jTable1.getValueAt(22, 2).toString(), jTable1.getValueAt(22, 3).toString(), jTable1.getValueAt(22, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("25", new Object[] { jTable1.getValueAt(23, 0).toString(), jTable1.getValueAt(23, 1).toString(), jTable1.getValueAt(23, 2).toString(), jTable1.getValueAt(23, 3).toString(), jTable1.getValueAt(23, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("26", new Object[] { jTable1.getValueAt(24, 0).toString(), jTable1.getValueAt(24, 1).toString(), jTable1.getValueAt(24, 2).toString(), jTable1.getValueAt(24, 3).toString(), jTable1.getValueAt(24, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("27", new Object[] { jTable1.getValueAt(25, 0).toString(), jTable1.getValueAt(25, 1).toString(), jTable1.getValueAt(25, 2).toString(), jTable1.getValueAt(25, 3).toString(), jTable1.getValueAt(25, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("28", new Object[] { jTable1.getValueAt(26, 0).toString(), jTable1.getValueAt(26, 1).toString(), jTable1.getValueAt(26, 2).toString(), jTable1.getValueAt(26, 3).toString(), jTable1.getValueAt(26, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("29", new Object[] { jTable1.getValueAt(27, 0).toString(), jTable1.getValueAt(27, 1).toString(), jTable1.getValueAt(27, 2).toString(), jTable1.getValueAt(27, 3).toString(), jTable1.getValueAt(27, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("30", new Object[] { jTable1.getValueAt(28, 0).toString(), jTable1.getValueAt(28, 1).toString(), jTable1.getValueAt(28, 2).toString(), jTable1.getValueAt(28, 3).toString(), jTable1.getValueAt(28, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("31", new Object[] { jTable1.getValueAt(29, 0).toString(), jTable1.getValueAt(29, 1).toString(), jTable1.getValueAt(29, 2).toString(), jTable1.getValueAt(29, 3).toString(), jTable1.getValueAt(29, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("32", new Object[] { jTable1.getValueAt(30, 0).toString(), jTable1.getValueAt(30, 1).toString(), jTable1.getValueAt(30, 2).toString(), jTable1.getValueAt(30, 3).toString(), jTable1.getValueAt(30, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("33", new Object[] { jTable1.getValueAt(31, 0).toString(), jTable1.getValueAt(31, 1).toString(), jTable1.getValueAt(31, 2).toString(), jTable1.getValueAt(31, 3).toString(), jTable1.getValueAt(31, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("34", new Object[] { jTable1.getValueAt(32, 0).toString(), jTable1.getValueAt(32, 1).toString(), jTable1.getValueAt(32, 2).toString(), jTable1.getValueAt(32, 3).toString(), jTable1.getValueAt(32, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("35", new Object[] { jTable1.getValueAt(33, 0).toString(), jTable1.getValueAt(33, 1).toString(), jTable1.getValueAt(33, 2).toString(), jTable1.getValueAt(33, 3).toString(), jTable1.getValueAt(33, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("36", new Object[] { jTable1.getValueAt(34, 0).toString(), jTable1.getValueAt(34, 1).toString(), jTable1.getValueAt(34, 2).toString(), jTable1.getValueAt(34, 3).toString(), jTable1.getValueAt(34, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("37", new Object[] { jTable1.getValueAt(35, 0).toString(), jTable1.getValueAt(35, 1).toString(), jTable1.getValueAt(35, 2).toString(), jTable1.getValueAt(35, 3).toString(), jTable1.getValueAt(35, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("38", new Object[] { jTable1.getValueAt(36, 0).toString(), jTable1.getValueAt(36, 1).toString(), jTable1.getValueAt(36, 2).toString(), jTable1.getValueAt(36, 3).toString(), jTable1.getValueAt(36, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("39", new Object[] { jTable1.getValueAt(37, 0).toString(), jTable1.getValueAt(37, 1).toString(), jTable1.getValueAt(37, 2).toString(), jTable1.getValueAt(37, 3).toString(), jTable1.getValueAt(37, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("40", new Object[] { jTable1.getValueAt(38, 0).toString(), jTable1.getValueAt(38, 1).toString(), jTable1.getValueAt(38, 2).toString(), jTable1.getValueAt(38, 3).toString(), jTable1.getValueAt(38, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("41", new Object[] { jTable1.getValueAt(39, 0).toString(), jTable1.getValueAt(39, 1).toString(), jTable1.getValueAt(39, 2).toString(), jTable1.getValueAt(39, 3).toString(), jTable1.getValueAt(39, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("42", new Object[] { jTable1.getValueAt(40, 0).toString(), jTable1.getValueAt(40, 1).toString(), jTable1.getValueAt(40, 2).toString(), jTable1.getValueAt(40, 3).toString(), jTable1.getValueAt(40, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("43", new Object[] { jTable1.getValueAt(41, 0).toString(), jTable1.getValueAt(41, 1).toString(), jTable1.getValueAt(41, 2).toString(), jTable1.getValueAt(41, 3).toString(), jTable1.getValueAt(41, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("44", new Object[] { jTable1.getValueAt(42, 0).toString(), jTable1.getValueAt(42, 1).toString(), jTable1.getValueAt(42, 2).toString(), jTable1.getValueAt(42, 3).toString(), jTable1.getValueAt(42, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("45", new Object[] { jTable1.getValueAt(43, 0).toString(), jTable1.getValueAt(43, 1).toString(), jTable1.getValueAt(43, 2).toString(), jTable1.getValueAt(43, 3).toString(), jTable1.getValueAt(43, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("46", new Object[] { jTable1.getValueAt(44, 0).toString(), jTable1.getValueAt(44, 1).toString(), jTable1.getValueAt(44, 2).toString(), jTable1.getValueAt(44, 3).toString(), jTable1.getValueAt(44, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("47", new Object[] { jTable1.getValueAt(45, 0).toString(), jTable1.getValueAt(45, 1).toString(), jTable1.getValueAt(45, 2).toString(), jTable1.getValueAt(45, 3).toString(), jTable1.getValueAt(45, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("48", new Object[] { jTable1.getValueAt(46, 0).toString(), jTable1.getValueAt(46, 1).toString(), jTable1.getValueAt(46, 2).toString(), jTable1.getValueAt(46, 3).toString(), jTable1.getValueAt(46, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("49", new Object[] { jTable1.getValueAt(47, 0).toString(), jTable1.getValueAt(47, 1).toString(), jTable1.getValueAt(47, 2).toString(), jTable1.getValueAt(47, 3).toString(), jTable1.getValueAt(47, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("50", new Object[] { jTable1.getValueAt(48, 0).toString(), jTable1.getValueAt(48, 1).toString(), jTable1.getValueAt(48, 2).toString(), jTable1.getValueAt(48, 3).toString(), jTable1.getValueAt(48, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("51", new Object[] { jTable1.getValueAt(49, 0).toString(), jTable1.getValueAt(49, 1).toString(), jTable1.getValueAt(49, 2).toString(), jTable1.getValueAt(49, 3).toString(), jTable1.getValueAt(49, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("52", new Object[] { jTable1.getValueAt(50, 0).toString(), jTable1.getValueAt(50, 1).toString(), jTable1.getValueAt(50, 2).toString(), jTable1.getValueAt(50, 3).toString(), jTable1.getValueAt(50, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("53", new Object[] { jTable1.getValueAt(51, 0).toString(), jTable1.getValueAt(51, 1).toString(), jTable1.getValueAt(51, 2).toString(), jTable1.getValueAt(51, 3).toString(), jTable1.getValueAt(51, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("54", new Object[] { jTable1.getValueAt(52, 0).toString(), jTable1.getValueAt(52, 1).toString(), jTable1.getValueAt(52, 2).toString(), jTable1.getValueAt(52, 3).toString(), jTable1.getValueAt(52, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("55", new Object[] { jTable1.getValueAt(53, 0).toString(), jTable1.getValueAt(53, 1).toString(), jTable1.getValueAt(53, 2).toString(), jTable1.getValueAt(53, 3).toString(), jTable1.getValueAt(53, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("56", new Object[] { jTable1.getValueAt(54, 0).toString(), jTable1.getValueAt(54, 1).toString(), jTable1.getValueAt(54, 2).toString(), jTable1.getValueAt(54, 3).toString(), jTable1.getValueAt(54, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("57", new Object[] { jTable1.getValueAt(55, 0).toString(), jTable1.getValueAt(55, 1).toString(), jTable1.getValueAt(55, 2).toString(), jTable1.getValueAt(55, 3).toString(), jTable1.getValueAt(55, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("58", new Object[] { jTable1.getValueAt(56, 0).toString(), jTable1.getValueAt(56, 1).toString(), jTable1.getValueAt(56, 2).toString(), jTable1.getValueAt(56, 3).toString(), jTable1.getValueAt(56, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("59", new Object[] { jTable1.getValueAt(57, 0).toString(), jTable1.getValueAt(57, 1).toString(), jTable1.getValueAt(57, 2).toString(), jTable1.getValueAt(57, 3).toString(), jTable1.getValueAt(57, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("60", new Object[] { jTable1.getValueAt(58, 0).toString(), jTable1.getValueAt(58, 1).toString(), jTable1.getValueAt(58, 2).toString(), jTable1.getValueAt(58, 3).toString(), jTable1.getValueAt(58, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("61", new Object[] { jTable1.getValueAt(59, 0).toString(), jTable1.getValueAt(59, 1).toString(), jTable1.getValueAt(59, 2).toString(), jTable1.getValueAt(59, 3).toString(), jTable1.getValueAt(59, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("62", new Object[] { jTable1.getValueAt(60, 0).toString(), jTable1.getValueAt(60, 1).toString(), jTable1.getValueAt(60, 2).toString(), jTable1.getValueAt(60, 3).toString(), jTable1.getValueAt(60, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("63", new Object[] { jTable1.getValueAt(61, 0).toString(), jTable1.getValueAt(61, 1).toString(), jTable1.getValueAt(61, 2).toString(), jTable1.getValueAt(61, 3).toString(), jTable1.getValueAt(61, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("64", new Object[] { jTable1.getValueAt(62, 0).toString(), jTable1.getValueAt(62, 1).toString(), jTable1.getValueAt(62, 2).toString(), jTable1.getValueAt(62, 3).toString(), jTable1.getValueAt(62, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("65", new Object[] { jTable1.getValueAt(63, 0).toString(), jTable1.getValueAt(63, 1).toString(), jTable1.getValueAt(63, 2).toString(), jTable1.getValueAt(63, 3).toString(), jTable1.getValueAt(63, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("66", new Object[] { jTable1.getValueAt(64, 0).toString(), jTable1.getValueAt(64, 1).toString(), jTable1.getValueAt(64, 2).toString(), jTable1.getValueAt(64, 3).toString(), jTable1.getValueAt(64, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("67", new Object[] { jTable1.getValueAt(65, 0).toString(), jTable1.getValueAt(65, 1).toString(), jTable1.getValueAt(65, 2).toString(), jTable1.getValueAt(65, 3).toString(), jTable1.getValueAt(65, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("68", new Object[] { jTable1.getValueAt(66, 0).toString(), jTable1.getValueAt(66, 1).toString(), jTable1.getValueAt(66, 2).toString(), jTable1.getValueAt(66, 3).toString(), jTable1.getValueAt(66, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("69", new Object[] { jTable1.getValueAt(67, 0).toString(), jTable1.getValueAt(67, 1).toString(), jTable1.getValueAt(67, 2).toString(), jTable1.getValueAt(67, 3).toString(), jTable1.getValueAt(67, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("70", new Object[] { jTable1.getValueAt(68, 0).toString(), jTable1.getValueAt(68, 1).toString(), jTable1.getValueAt(68, 2).toString(), jTable1.getValueAt(68, 3).toString(), jTable1.getValueAt(68, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("71", new Object[] { jTable1.getValueAt(69, 0).toString(), jTable1.getValueAt(69, 1).toString(), jTable1.getValueAt(69, 2).toString(), jTable1.getValueAt(69, 3).toString(), jTable1.getValueAt(69, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("72", new Object[] { jTable1.getValueAt(70, 0).toString(), jTable1.getValueAt(70, 1).toString(), jTable1.getValueAt(70, 2).toString(), jTable1.getValueAt(70, 3).toString(), jTable1.getValueAt(70, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("73", new Object[] { jTable1.getValueAt(71, 0).toString(), jTable1.getValueAt(71, 1).toString(), jTable1.getValueAt(71, 2).toString(), jTable1.getValueAt(71, 3).toString(), jTable1.getValueAt(71, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("74", new Object[] { jTable1.getValueAt(72, 0).toString(), jTable1.getValueAt(72, 1).toString(), jTable1.getValueAt(72, 2).toString(), jTable1.getValueAt(72, 3).toString(), jTable1.getValueAt(72, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("75", new Object[] { jTable1.getValueAt(73, 0).toString(), jTable1.getValueAt(73, 1).toString(), jTable1.getValueAt(73, 2).toString(), jTable1.getValueAt(73, 3).toString(), jTable1.getValueAt(73, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("76", new Object[] { jTable1.getValueAt(74, 0).toString(), jTable1.getValueAt(74, 1).toString(), jTable1.getValueAt(74, 2).toString(), jTable1.getValueAt(74, 3).toString(), jTable1.getValueAt(74, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("77", new Object[] { jTable1.getValueAt(75, 0).toString(), jTable1.getValueAt(75, 1).toString(), jTable1.getValueAt(75, 2).toString(), jTable1.getValueAt(75, 3).toString(), jTable1.getValueAt(75, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("78", new Object[] { jTable1.getValueAt(76, 0).toString(), jTable1.getValueAt(76, 1).toString(), jTable1.getValueAt(76, 2).toString(), jTable1.getValueAt(76, 3).toString(), jTable1.getValueAt(76, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("79", new Object[] { jTable1.getValueAt(77, 0).toString(), jTable1.getValueAt(77, 1).toString(), jTable1.getValueAt(77, 2).toString(), jTable1.getValueAt(77, 3).toString(), jTable1.getValueAt(77, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("80", new Object[] { jTable1.getValueAt(78, 0).toString(), jTable1.getValueAt(78, 1).toString(), jTable1.getValueAt(78, 2).toString(), jTable1.getValueAt(78, 3).toString(), jTable1.getValueAt(78, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("81", new Object[] { jTable1.getValueAt(79, 0).toString(), jTable1.getValueAt(79, 1).toString(), jTable1.getValueAt(79, 2).toString(), jTable1.getValueAt(79, 3).toString(), jTable1.getValueAt(79, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("82", new Object[] { jTable1.getValueAt(80, 0).toString(), jTable1.getValueAt(80, 1).toString(), jTable1.getValueAt(80, 2).toString(), jTable1.getValueAt(80, 3).toString(), jTable1.getValueAt(80, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("83", new Object[] { jTable1.getValueAt(81, 0).toString(), jTable1.getValueAt(81, 1).toString(), jTable1.getValueAt(81, 2).toString(), jTable1.getValueAt(81, 3).toString(), jTable1.getValueAt(81, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("84", new Object[] { jTable1.getValueAt(82, 0).toString(), jTable1.getValueAt(82, 1).toString(), jTable1.getValueAt(82, 2).toString(), jTable1.getValueAt(82, 3).toString(), jTable1.getValueAt(82, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("85", new Object[] { jTable1.getValueAt(83, 0).toString(), jTable1.getValueAt(83, 1).toString(), jTable1.getValueAt(83, 2).toString(), jTable1.getValueAt(83, 3).toString(), jTable1.getValueAt(83, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("86", new Object[] { jTable1.getValueAt(84, 0).toString(), jTable1.getValueAt(84, 1).toString(), jTable1.getValueAt(84, 2).toString(), jTable1.getValueAt(84, 3).toString(), jTable1.getValueAt(84, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("87", new Object[] { jTable1.getValueAt(85, 0).toString(), jTable1.getValueAt(85, 1).toString(), jTable1.getValueAt(85, 2).toString(), jTable1.getValueAt(85, 3).toString(), jTable1.getValueAt(85, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("88", new Object[] { jTable1.getValueAt(86, 0).toString(), jTable1.getValueAt(86, 1).toString(), jTable1.getValueAt(86, 2).toString(), jTable1.getValueAt(86, 3).toString(), jTable1.getValueAt(86, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("89", new Object[] { jTable1.getValueAt(87, 0).toString(), jTable1.getValueAt(87, 1).toString(), jTable1.getValueAt(87, 2).toString(), jTable1.getValueAt(87, 3).toString(), jTable1.getValueAt(87, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("90", new Object[] { jTable1.getValueAt(88, 0).toString(), jTable1.getValueAt(88, 1).toString(), jTable1.getValueAt(88, 2).toString(), jTable1.getValueAt(88, 3).toString(), jTable1.getValueAt(88, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("91", new Object[] { jTable1.getValueAt(89, 0).toString(), jTable1.getValueAt(89, 1).toString(), jTable1.getValueAt(89, 2).toString(), jTable1.getValueAt(89, 3).toString(), jTable1.getValueAt(89, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("92", new Object[] { jTable1.getValueAt(90, 0).toString(), jTable1.getValueAt(90, 1).toString(), jTable1.getValueAt(90, 2).toString(), jTable1.getValueAt(90, 3).toString(), jTable1.getValueAt(90, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("93", new Object[] { jTable1.getValueAt(91, 0).toString(), jTable1.getValueAt(91, 1).toString(), jTable1.getValueAt(91, 2).toString(), jTable1.getValueAt(91, 3).toString(), jTable1.getValueAt(91, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("94", new Object[] { jTable1.getValueAt(92, 0).toString(), jTable1.getValueAt(92, 1).toString(), jTable1.getValueAt(92, 2).toString(), jTable1.getValueAt(92, 3).toString(), jTable1.getValueAt(92, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("95", new Object[] { jTable1.getValueAt(93, 0).toString(), jTable1.getValueAt(93, 1).toString(), jTable1.getValueAt(93, 2).toString(), jTable1.getValueAt(93, 3).toString(), jTable1.getValueAt(93, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("96", new Object[] { jTable1.getValueAt(94, 0).toString(), jTable1.getValueAt(94, 1).toString(), jTable1.getValueAt(94, 2).toString(), jTable1.getValueAt(94, 3).toString(), jTable1.getValueAt(94, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("97", new Object[] { jTable1.getValueAt(95, 0).toString(), jTable1.getValueAt(95, 1).toString(), jTable1.getValueAt(95, 2).toString(), jTable1.getValueAt(95, 3).toString(), jTable1.getValueAt(95, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("98", new Object[] { jTable1.getValueAt(96, 0).toString(), jTable1.getValueAt(96, 1).toString(), jTable1.getValueAt(96, 2).toString(), jTable1.getValueAt(96, 3).toString(), jTable1.getValueAt(96, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("99", new Object[] { jTable1.getValueAt(97, 0).toString(), jTable1.getValueAt(97, 1).toString(), jTable1.getValueAt(97, 2).toString(), jTable1.getValueAt(97, 3).toString(), jTable1.getValueAt(97, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("100", new Object[] { jTable1.getValueAt(98, 0).toString(), jTable1.getValueAt(98, 1).toString(), jTable1.getValueAt(98, 2).toString(), jTable1.getValueAt(98, 3).toString(), jTable1.getValueAt(98, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("101", new Object[] { jTable1.getValueAt(99, 0).toString(), jTable1.getValueAt(99, 1).toString(), jTable1.getValueAt(99, 2).toString(), jTable1.getValueAt(99, 3).toString(), jTable1.getValueAt(99, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("102", new Object[] { jTable1.getValueAt(100, 0).toString(), jTable1.getValueAt(100, 1).toString(), jTable1.getValueAt(100, 2).toString(), jTable1.getValueAt(100, 3).toString(), jTable1.getValueAt(100, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("103", new Object[] { jTable1.getValueAt(101, 0).toString(), jTable1.getValueAt(101, 1).toString(), jTable1.getValueAt(101, 2).toString(), jTable1.getValueAt(101, 3).toString(), jTable1.getValueAt(101, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("104", new Object[] { jTable1.getValueAt(102, 0).toString(), jTable1.getValueAt(102, 1).toString(), jTable1.getValueAt(102, 2).toString(), jTable1.getValueAt(102, 3).toString(), jTable1.getValueAt(102, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("105", new Object[] { jTable1.getValueAt(103, 0).toString(), jTable1.getValueAt(103, 1).toString(), jTable1.getValueAt(103, 2).toString(), jTable1.getValueAt(103, 3).toString(), jTable1.getValueAt(103, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("106", new Object[] { jTable1.getValueAt(104, 0).toString(), jTable1.getValueAt(104, 1).toString(), jTable1.getValueAt(104, 2).toString(), jTable1.getValueAt(104, 3).toString(), jTable1.getValueAt(104, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("107", new Object[] { jTable1.getValueAt(105, 0).toString(), jTable1.getValueAt(105, 1).toString(), jTable1.getValueAt(105, 2).toString(), jTable1.getValueAt(105, 3).toString(), jTable1.getValueAt(105, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("108", new Object[] { jTable1.getValueAt(106, 0).toString(), jTable1.getValueAt(106, 1).toString(), jTable1.getValueAt(106, 2).toString(), jTable1.getValueAt(106, 3).toString(), jTable1.getValueAt(106, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("109", new Object[] { jTable1.getValueAt(107, 0).toString(), jTable1.getValueAt(107, 1).toString(), jTable1.getValueAt(107, 2).toString(), jTable1.getValueAt(107, 3).toString(), jTable1.getValueAt(107, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("110", new Object[] { jTable1.getValueAt(108, 0).toString(), jTable1.getValueAt(108, 1).toString(), jTable1.getValueAt(108, 2).toString(), jTable1.getValueAt(108, 3).toString(), jTable1.getValueAt(108, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("111", new Object[] { jTable1.getValueAt(109, 0).toString(), jTable1.getValueAt(109, 1).toString(), jTable1.getValueAt(109, 2).toString(), jTable1.getValueAt(109, 3).toString(), jTable1.getValueAt(109, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("112", new Object[] { jTable1.getValueAt(110, 0).toString(), jTable1.getValueAt(110, 1).toString(), jTable1.getValueAt(110, 2).toString(), jTable1.getValueAt(110, 3).toString(), jTable1.getValueAt(110, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("113", new Object[] { jTable1.getValueAt(111, 0).toString(), jTable1.getValueAt(111, 1).toString(), jTable1.getValueAt(111, 2).toString(), jTable1.getValueAt(111, 3).toString(), jTable1.getValueAt(111, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("114", new Object[] { jTable1.getValueAt(112, 0).toString(), jTable1.getValueAt(112, 1).toString(), jTable1.getValueAt(112, 2).toString(), jTable1.getValueAt(112, 3).toString(), jTable1.getValueAt(112, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("115", new Object[] { jTable1.getValueAt(113, 0).toString(), jTable1.getValueAt(113, 1).toString(), jTable1.getValueAt(113, 2).toString(), jTable1.getValueAt(113, 3).toString(), jTable1.getValueAt(113, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("116", new Object[] { jTable1.getValueAt(114, 0).toString(), jTable1.getValueAt(114, 1).toString(), jTable1.getValueAt(114, 2).toString(), jTable1.getValueAt(114, 3).toString(), jTable1.getValueAt(114, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("117", new Object[] { jTable1.getValueAt(115, 0).toString(), jTable1.getValueAt(115, 1).toString(), jTable1.getValueAt(115, 2).toString(), jTable1.getValueAt(115, 3).toString(), jTable1.getValueAt(115, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("118", new Object[] { jTable1.getValueAt(116, 0).toString(), jTable1.getValueAt(116, 1).toString(), jTable1.getValueAt(116, 2).toString(), jTable1.getValueAt(116, 3).toString(), jTable1.getValueAt(116, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("119", new Object[] { jTable1.getValueAt(117, 0).toString(), jTable1.getValueAt(117, 1).toString(), jTable1.getValueAt(117, 2).toString(), jTable1.getValueAt(117, 3).toString(), jTable1.getValueAt(117, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("120", new Object[] { jTable1.getValueAt(118, 0).toString(), jTable1.getValueAt(118, 1).toString(), jTable1.getValueAt(118, 2).toString(), jTable1.getValueAt(118, 3).toString(), jTable1.getValueAt(118, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("121", new Object[] { jTable1.getValueAt(119, 0).toString(), jTable1.getValueAt(119, 1).toString(), jTable1.getValueAt(119, 2).toString(), jTable1.getValueAt(119, 3).toString(), jTable1.getValueAt(119, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("122", new Object[] { jTable1.getValueAt(120, 0).toString(), jTable1.getValueAt(120, 1).toString(), jTable1.getValueAt(120, 2).toString(), jTable1.getValueAt(120, 3).toString(), jTable1.getValueAt(120, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("123", new Object[] { jTable1.getValueAt(121, 0).toString(), jTable1.getValueAt(121, 1).toString(), jTable1.getValueAt(121, 2).toString(), jTable1.getValueAt(121, 3).toString(), jTable1.getValueAt(121, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("124", new Object[] { jTable1.getValueAt(122, 0).toString(), jTable1.getValueAt(122, 1).toString(), jTable1.getValueAt(122, 2).toString(), jTable1.getValueAt(122, 3).toString(), jTable1.getValueAt(122, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("125", new Object[] { jTable1.getValueAt(123, 0).toString(), jTable1.getValueAt(123, 1).toString(), jTable1.getValueAt(123, 2).toString(), jTable1.getValueAt(123, 3).toString(), jTable1.getValueAt(123, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("126", new Object[] { jTable1.getValueAt(124, 0).toString(), jTable1.getValueAt(124, 1).toString(), jTable1.getValueAt(124, 2).toString(), jTable1.getValueAt(124, 3).toString(), jTable1.getValueAt(124, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("127", new Object[] { jTable1.getValueAt(125, 0).toString(), jTable1.getValueAt(125, 1).toString(), jTable1.getValueAt(125, 2).toString(), jTable1.getValueAt(125, 3).toString(), jTable1.getValueAt(125, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("128", new Object[] { jTable1.getValueAt(126, 0).toString(), jTable1.getValueAt(126, 1).toString(), jTable1.getValueAt(126, 2).toString(), jTable1.getValueAt(126, 3).toString(), jTable1.getValueAt(126, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("129", new Object[] { jTable1.getValueAt(127, 0).toString(), jTable1.getValueAt(127, 1).toString(), jTable1.getValueAt(127, 2).toString(), jTable1.getValueAt(127, 3).toString(), jTable1.getValueAt(127, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("130", new Object[] { jTable1.getValueAt(128, 0).toString(), jTable1.getValueAt(128, 1).toString(), jTable1.getValueAt(128, 2).toString(), jTable1.getValueAt(128, 3).toString(), jTable1.getValueAt(128, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("131", new Object[] { jTable1.getValueAt(129, 0).toString(), jTable1.getValueAt(129, 1).toString(), jTable1.getValueAt(129, 2).toString(), jTable1.getValueAt(129, 3).toString(), jTable1.getValueAt(129, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("132", new Object[] { jTable1.getValueAt(130, 0).toString(), jTable1.getValueAt(130, 1).toString(), jTable1.getValueAt(130, 2).toString(), jTable1.getValueAt(130, 3).toString(), jTable1.getValueAt(130, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("133", new Object[] { jTable1.getValueAt(131, 0).toString(), jTable1.getValueAt(131, 1).toString(), jTable1.getValueAt(131, 2).toString(), jTable1.getValueAt(131, 3).toString(), jTable1.getValueAt(131, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("134", new Object[] { jTable1.getValueAt(132, 0).toString(), jTable1.getValueAt(132, 1).toString(), jTable1.getValueAt(132, 2).toString(), jTable1.getValueAt(132, 3).toString(), jTable1.getValueAt(132, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("135", new Object[] { jTable1.getValueAt(133, 0).toString(), jTable1.getValueAt(133, 1).toString(), jTable1.getValueAt(133, 2).toString(), jTable1.getValueAt(133, 3).toString(), jTable1.getValueAt(133, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("136", new Object[] { jTable1.getValueAt(134, 0).toString(), jTable1.getValueAt(134, 1).toString(), jTable1.getValueAt(134, 2).toString(), jTable1.getValueAt(134, 3).toString(), jTable1.getValueAt(134, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("137", new Object[] { jTable1.getValueAt(135, 0).toString(), jTable1.getValueAt(135, 1).toString(), jTable1.getValueAt(135, 2).toString(), jTable1.getValueAt(135, 3).toString(), jTable1.getValueAt(135, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("138", new Object[] { jTable1.getValueAt(136, 0).toString(), jTable1.getValueAt(136, 1).toString(), jTable1.getValueAt(136, 2).toString(), jTable1.getValueAt(136, 3).toString(), jTable1.getValueAt(136, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("139", new Object[] { jTable1.getValueAt(137, 0).toString(), jTable1.getValueAt(137, 1).toString(), jTable1.getValueAt(137, 2).toString(), jTable1.getValueAt(137, 3).toString(), jTable1.getValueAt(137, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("140", new Object[] { jTable1.getValueAt(138, 0).toString(), jTable1.getValueAt(138, 1).toString(), jTable1.getValueAt(138, 2).toString(), jTable1.getValueAt(138, 3).toString(), jTable1.getValueAt(138, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("141", new Object[] { jTable1.getValueAt(139, 0).toString(), jTable1.getValueAt(139, 1).toString(), jTable1.getValueAt(139, 2).toString(), jTable1.getValueAt(139, 3).toString(), jTable1.getValueAt(139, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("142", new Object[] { jTable1.getValueAt(140, 0).toString(), jTable1.getValueAt(140, 1).toString(), jTable1.getValueAt(140, 2).toString(), jTable1.getValueAt(140, 3).toString(), jTable1.getValueAt(140, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("143", new Object[] { jTable1.getValueAt(141, 0).toString(), jTable1.getValueAt(141, 1).toString(), jTable1.getValueAt(141, 2).toString(), jTable1.getValueAt(141, 3).toString(), jTable1.getValueAt(141, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("144", new Object[] { jTable1.getValueAt(142, 0).toString(), jTable1.getValueAt(142, 1).toString(), jTable1.getValueAt(142, 2).toString(), jTable1.getValueAt(142, 3).toString(), jTable1.getValueAt(142, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("145", new Object[] { jTable1.getValueAt(143, 0).toString(), jTable1.getValueAt(143, 1).toString(), jTable1.getValueAt(143, 2).toString(), jTable1.getValueAt(143, 3).toString(), jTable1.getValueAt(143, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("146", new Object[] { jTable1.getValueAt(144, 0).toString(), jTable1.getValueAt(144, 1).toString(), jTable1.getValueAt(144, 2).toString(), jTable1.getValueAt(144, 3).toString(), jTable1.getValueAt(144, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("147", new Object[] { jTable1.getValueAt(145, 0).toString(), jTable1.getValueAt(145, 1).toString(), jTable1.getValueAt(145, 2).toString(), jTable1.getValueAt(145, 3).toString(), jTable1.getValueAt(145, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("148", new Object[] { jTable1.getValueAt(146, 0).toString(), jTable1.getValueAt(146, 1).toString(), jTable1.getValueAt(146, 2).toString(), jTable1.getValueAt(146, 3).toString(), jTable1.getValueAt(146, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("149", new Object[] { jTable1.getValueAt(147, 0).toString(), jTable1.getValueAt(147, 1).toString(), jTable1.getValueAt(147, 2).toString(), jTable1.getValueAt(147, 3).toString(), jTable1.getValueAt(147, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("150", new Object[] { jTable1.getValueAt(148, 0).toString(), jTable1.getValueAt(148, 1).toString(), jTable1.getValueAt(148, 2).toString(), jTable1.getValueAt(148, 3).toString(), jTable1.getValueAt(148, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("151", new Object[] { jTable1.getValueAt(149, 0).toString(), jTable1.getValueAt(149, 1).toString(), jTable1.getValueAt(149, 2).toString(), jTable1.getValueAt(149, 3).toString(), jTable1.getValueAt(149, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("152", new Object[] { jTable1.getValueAt(150, 0).toString(), jTable1.getValueAt(150, 1).toString(), jTable1.getValueAt(150, 2).toString(), jTable1.getValueAt(150, 3).toString(), jTable1.getValueAt(150, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("153", new Object[] { jTable1.getValueAt(151, 0).toString(), jTable1.getValueAt(151, 1).toString(), jTable1.getValueAt(151, 2).toString(), jTable1.getValueAt(151, 3).toString(), jTable1.getValueAt(151, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("154", new Object[] { jTable1.getValueAt(152, 0).toString(), jTable1.getValueAt(152, 1).toString(), jTable1.getValueAt(152, 2).toString(), jTable1.getValueAt(152, 3).toString(), jTable1.getValueAt(152, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("155", new Object[] { jTable1.getValueAt(153, 0).toString(), jTable1.getValueAt(153, 1).toString(), jTable1.getValueAt(153, 2).toString(), jTable1.getValueAt(153, 3).toString(), jTable1.getValueAt(153, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("156", new Object[] { jTable1.getValueAt(154, 0).toString(), jTable1.getValueAt(154, 1).toString(), jTable1.getValueAt(154, 2).toString(), jTable1.getValueAt(154, 3).toString(), jTable1.getValueAt(154, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("157", new Object[] { jTable1.getValueAt(155, 0).toString(), jTable1.getValueAt(155, 1).toString(), jTable1.getValueAt(155, 2).toString(), jTable1.getValueAt(155, 3).toString(), jTable1.getValueAt(155, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("158", new Object[] { jTable1.getValueAt(156, 0).toString(), jTable1.getValueAt(156, 1).toString(), jTable1.getValueAt(156, 2).toString(), jTable1.getValueAt(156, 3).toString(), jTable1.getValueAt(156, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("159", new Object[] { jTable1.getValueAt(157, 0).toString(), jTable1.getValueAt(157, 1).toString(), jTable1.getValueAt(157, 2).toString(), jTable1.getValueAt(157, 3).toString(), jTable1.getValueAt(157, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("160", new Object[] { jTable1.getValueAt(158, 0).toString(), jTable1.getValueAt(158, 1).toString(), jTable1.getValueAt(158, 2).toString(), jTable1.getValueAt(158, 3).toString(), jTable1.getValueAt(158, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("161", new Object[] { jTable1.getValueAt(159, 0).toString(), jTable1.getValueAt(159, 1).toString(), jTable1.getValueAt(159, 2).toString(), jTable1.getValueAt(159, 3).toString(), jTable1.getValueAt(159, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("162", new Object[] { jTable1.getValueAt(160, 0).toString(), jTable1.getValueAt(160, 1).toString(), jTable1.getValueAt(160, 2).toString(), jTable1.getValueAt(160, 3).toString(), jTable1.getValueAt(160, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("163", new Object[] { jTable1.getValueAt(161, 0).toString(), jTable1.getValueAt(161, 1).toString(), jTable1.getValueAt(161, 2).toString(), jTable1.getValueAt(161, 3).toString(), jTable1.getValueAt(161, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("164", new Object[] { jTable1.getValueAt(162, 0).toString(), jTable1.getValueAt(162, 1).toString(), jTable1.getValueAt(162, 2).toString(), jTable1.getValueAt(162, 3).toString(), jTable1.getValueAt(162, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("165", new Object[] { jTable1.getValueAt(163, 0).toString(), jTable1.getValueAt(163, 1).toString(), jTable1.getValueAt(163, 2).toString(), jTable1.getValueAt(163, 3).toString(), jTable1.getValueAt(163, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("166", new Object[] { jTable1.getValueAt(164, 0).toString(), jTable1.getValueAt(164, 1).toString(), jTable1.getValueAt(164, 2).toString(), jTable1.getValueAt(164, 3).toString(), jTable1.getValueAt(164, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("167", new Object[] { jTable1.getValueAt(165, 0).toString(), jTable1.getValueAt(165, 1).toString(), jTable1.getValueAt(165, 2).toString(), jTable1.getValueAt(165, 3).toString(), jTable1.getValueAt(165, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("168", new Object[] { jTable1.getValueAt(166, 0).toString(), jTable1.getValueAt(166, 1).toString(), jTable1.getValueAt(166, 2).toString(), jTable1.getValueAt(166, 3).toString(), jTable1.getValueAt(166, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("169", new Object[] { jTable1.getValueAt(167, 0).toString(), jTable1.getValueAt(167, 1).toString(), jTable1.getValueAt(167, 2).toString(), jTable1.getValueAt(167, 3).toString(), jTable1.getValueAt(167, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("170", new Object[] { jTable1.getValueAt(168, 0).toString(), jTable1.getValueAt(168, 1).toString(), jTable1.getValueAt(168, 2).toString(), jTable1.getValueAt(168, 3).toString(), jTable1.getValueAt(168, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("171", new Object[] { jTable1.getValueAt(169, 0).toString(), jTable1.getValueAt(169, 1).toString(), jTable1.getValueAt(169, 2).toString(), jTable1.getValueAt(169, 3).toString(), jTable1.getValueAt(169, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("172", new Object[] { jTable1.getValueAt(170, 0).toString(), jTable1.getValueAt(170, 1).toString(), jTable1.getValueAt(170, 2).toString(), jTable1.getValueAt(170, 3).toString(), jTable1.getValueAt(170, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("173", new Object[] { jTable1.getValueAt(171, 0).toString(), jTable1.getValueAt(171, 1).toString(), jTable1.getValueAt(171, 2).toString(), jTable1.getValueAt(171, 3).toString(), jTable1.getValueAt(171, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("174", new Object[] { jTable1.getValueAt(172, 0).toString(), jTable1.getValueAt(172, 1).toString(), jTable1.getValueAt(172, 2).toString(), jTable1.getValueAt(172, 3).toString(), jTable1.getValueAt(172, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("175", new Object[] { jTable1.getValueAt(173, 0).toString(), jTable1.getValueAt(173, 1).toString(), jTable1.getValueAt(173, 2).toString(), jTable1.getValueAt(173, 3).toString(), jTable1.getValueAt(173, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("176", new Object[] { jTable1.getValueAt(174, 0).toString(), jTable1.getValueAt(174, 1).toString(), jTable1.getValueAt(174, 2).toString(), jTable1.getValueAt(174, 3).toString(), jTable1.getValueAt(174, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("177", new Object[] { jTable1.getValueAt(175, 0).toString(), jTable1.getValueAt(175, 1).toString(), jTable1.getValueAt(175, 2).toString(), jTable1.getValueAt(175, 3).toString(), jTable1.getValueAt(175, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("178", new Object[] { jTable1.getValueAt(176, 0).toString(), jTable1.getValueAt(176, 1).toString(), jTable1.getValueAt(176, 2).toString(), jTable1.getValueAt(176, 3).toString(), jTable1.getValueAt(176, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("179", new Object[] { jTable1.getValueAt(177, 0).toString(), jTable1.getValueAt(177, 1).toString(), jTable1.getValueAt(177, 2).toString(), jTable1.getValueAt(177, 3).toString(), jTable1.getValueAt(177, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("180", new Object[] { jTable1.getValueAt(178, 0).toString(), jTable1.getValueAt(178, 1).toString(), jTable1.getValueAt(178, 2).toString(), jTable1.getValueAt(178, 3).toString(), jTable1.getValueAt(178, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("181", new Object[] { jTable1.getValueAt(179, 0).toString(), jTable1.getValueAt(179, 1).toString(), jTable1.getValueAt(179, 2).toString(), jTable1.getValueAt(179, 3).toString(), jTable1.getValueAt(179, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("182", new Object[] { jTable1.getValueAt(180, 0).toString(), jTable1.getValueAt(180, 1).toString(), jTable1.getValueAt(180, 2).toString(), jTable1.getValueAt(180, 3).toString(), jTable1.getValueAt(180, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("183", new Object[] { jTable1.getValueAt(181, 0).toString(), jTable1.getValueAt(181, 1).toString(), jTable1.getValueAt(181, 2).toString(), jTable1.getValueAt(181, 3).toString(), jTable1.getValueAt(181, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("184", new Object[] { jTable1.getValueAt(182, 0).toString(), jTable1.getValueAt(182, 1).toString(), jTable1.getValueAt(182, 2).toString(), jTable1.getValueAt(182, 3).toString(), jTable1.getValueAt(182, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("185", new Object[] { jTable1.getValueAt(183, 0).toString(), jTable1.getValueAt(183, 1).toString(), jTable1.getValueAt(183, 2).toString(), jTable1.getValueAt(183, 3).toString(), jTable1.getValueAt(183, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("186", new Object[] { jTable1.getValueAt(184, 0).toString(), jTable1.getValueAt(184, 1).toString(), jTable1.getValueAt(184, 2).toString(), jTable1.getValueAt(184, 3).toString(), jTable1.getValueAt(184, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("187", new Object[] { jTable1.getValueAt(185, 0).toString(), jTable1.getValueAt(185, 1).toString(), jTable1.getValueAt(185, 2).toString(), jTable1.getValueAt(185, 3).toString(), jTable1.getValueAt(185, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("188", new Object[] { jTable1.getValueAt(186, 0).toString(), jTable1.getValueAt(186, 1).toString(), jTable1.getValueAt(186, 2).toString(), jTable1.getValueAt(186, 3).toString(), jTable1.getValueAt(186, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("189", new Object[] { jTable1.getValueAt(187, 0).toString(), jTable1.getValueAt(187, 1).toString(), jTable1.getValueAt(187, 2).toString(), jTable1.getValueAt(187, 3).toString(), jTable1.getValueAt(187, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("190", new Object[] { jTable1.getValueAt(188, 0).toString(), jTable1.getValueAt(188, 1).toString(), jTable1.getValueAt(188, 2).toString(), jTable1.getValueAt(188, 3).toString(), jTable1.getValueAt(188, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("191", new Object[] { jTable1.getValueAt(189, 0).toString(), jTable1.getValueAt(189, 1).toString(), jTable1.getValueAt(189, 2).toString(), jTable1.getValueAt(189, 3).toString(), jTable1.getValueAt(189, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("192", new Object[] { jTable1.getValueAt(190, 0).toString(), jTable1.getValueAt(190, 1).toString(), jTable1.getValueAt(190, 2).toString(), jTable1.getValueAt(190, 3).toString(), jTable1.getValueAt(190, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("193", new Object[] { jTable1.getValueAt(191, 0).toString(), jTable1.getValueAt(191, 1).toString(), jTable1.getValueAt(191, 2).toString(), jTable1.getValueAt(191, 3).toString(), jTable1.getValueAt(191, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("194", new Object[] { jTable1.getValueAt(192, 0).toString(), jTable1.getValueAt(192, 1).toString(), jTable1.getValueAt(192, 2).toString(), jTable1.getValueAt(192, 3).toString(), jTable1.getValueAt(192, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("195", new Object[] { jTable1.getValueAt(193, 0).toString(), jTable1.getValueAt(193, 1).toString(), jTable1.getValueAt(193, 2).toString(), jTable1.getValueAt(193, 3).toString(), jTable1.getValueAt(193, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("196", new Object[] { jTable1.getValueAt(194, 0).toString(), jTable1.getValueAt(194, 1).toString(), jTable1.getValueAt(194, 2).toString(), jTable1.getValueAt(194, 3).toString(), jTable1.getValueAt(194, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("197", new Object[] { jTable1.getValueAt(195, 0).toString(), jTable1.getValueAt(195, 1).toString(), jTable1.getValueAt(195, 2).toString(), jTable1.getValueAt(195, 3).toString(), jTable1.getValueAt(195, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("198", new Object[] { jTable1.getValueAt(196, 0).toString(), jTable1.getValueAt(196, 1).toString(), jTable1.getValueAt(196, 2).toString(), jTable1.getValueAt(196, 3).toString(), jTable1.getValueAt(196, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("199", new Object[] { jTable1.getValueAt(197, 0).toString(), jTable1.getValueAt(197, 1).toString(), jTable1.getValueAt(197, 2).toString(), jTable1.getValueAt(197, 3).toString(), jTable1.getValueAt(197, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("200", new Object[] { jTable1.getValueAt(198, 0).toString(), jTable1.getValueAt(198, 1).toString(), jTable1.getValueAt(198, 2).toString(), jTable1.getValueAt(198, 3).toString(), jTable1.getValueAt(198, 4).toString() }); i++; } else break; if (jTable1.getRowCount() != i) { data.put("201", new Object[] { jTable1.getValueAt(199, 0).toString(), jTable1.getValueAt(199, 1).toString(), jTable1.getValueAt(199, 2).toString(), jTable1.getValueAt(199, 3).toString(), jTable1.getValueAt(199, 4).toString() }); i++; } else break; } Set<String> keyset = data.keySet(); int rownum = 0; for (String key : keyset) { Row row = sheet.createRow(rownum++); Object[] objArr = data.get(key); int cellnum = 0; for (Object obj : objArr) { XSSFCell cell = (XSSFCell) row.createCell(cellnum++); if (obj instanceof String) cell.setCellValue((String) obj); else if (obj instanceof Integer) cell.setCellValue((Integer) obj); } } try { //Write the workbook in file system FileOutputStream out = new FileOutputStream(new File(filename + ".xlsx")); workbook.write(out); out.close(); JOptionPane.showMessageDialog(null, "Data exported to excel sheet"); } catch (Exception e) { e.printStackTrace(); } }
From source file:mymoney.view.java
private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton9ActionPerformed JFileChooser cho = new JFileChooser(); cho.showSaveDialog(null);/*from w w w .ja v a2 s . c o m*/ File f = cho.getSelectedFile(); String filename = f.getAbsolutePath(); DefaultTableModel model = (DefaultTableModel) jTable2.getModel(); XSSFWorkbook workbook = new XSSFWorkbook(); XSSFSheet sheet = workbook.createSheet("New Data"); TreeMap<String, Object[]> data = new TreeMap<String, Object[]>(); data.put("1", new Object[] { "DATE", "NAME", "AMOUNT", "CATEGORY", "TYPE" }); for (int i = 0;;) { if (jTable2.getRowCount() != i) { data.put("2", new Object[] { jTable2.getValueAt(0, 0).toString(), jTable2.getValueAt(0, 1).toString(), jTable2.getValueAt(0, 2).toString(), jTable2.getValueAt(0, 3).toString(), jTable2.getValueAt(0, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("3", new Object[] { jTable2.getValueAt(1, 0).toString(), jTable2.getValueAt(1, 1).toString(), jTable2.getValueAt(1, 2).toString(), jTable2.getValueAt(1, 3).toString(), jTable2.getValueAt(1, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("4", new Object[] { jTable2.getValueAt(2, 0).toString(), jTable2.getValueAt(2, 1).toString(), jTable2.getValueAt(2, 2).toString(), jTable2.getValueAt(2, 3).toString(), jTable2.getValueAt(2, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("5", new Object[] { jTable2.getValueAt(3, 0).toString(), jTable2.getValueAt(3, 1).toString(), jTable2.getValueAt(3, 2).toString(), jTable2.getValueAt(3, 3).toString(), jTable2.getValueAt(3, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("6", new Object[] { jTable2.getValueAt(4, 0).toString(), jTable2.getValueAt(4, 1).toString(), jTable2.getValueAt(4, 2).toString(), jTable2.getValueAt(4, 3).toString(), jTable2.getValueAt(4, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("7", new Object[] { jTable2.getValueAt(5, 0).toString(), jTable2.getValueAt(5, 1).toString(), jTable2.getValueAt(5, 2).toString(), jTable2.getValueAt(5, 3).toString(), jTable2.getValueAt(5, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("8", new Object[] { jTable2.getValueAt(6, 0).toString(), jTable2.getValueAt(6, 1).toString(), jTable2.getValueAt(6, 2).toString(), jTable2.getValueAt(6, 3).toString(), jTable2.getValueAt(6, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("9", new Object[] { jTable2.getValueAt(7, 0).toString(), jTable2.getValueAt(7, 1).toString(), jTable2.getValueAt(7, 2).toString(), jTable2.getValueAt(7, 3).toString(), jTable2.getValueAt(7, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("10", new Object[] { jTable2.getValueAt(8, 0).toString(), jTable2.getValueAt(8, 1).toString(), jTable2.getValueAt(8, 2).toString(), jTable2.getValueAt(8, 3).toString(), jTable2.getValueAt(8, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("11", new Object[] { jTable2.getValueAt(9, 0).toString(), jTable2.getValueAt(9, 1).toString(), jTable2.getValueAt(9, 2).toString(), jTable2.getValueAt(9, 3).toString(), jTable2.getValueAt(9, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("12", new Object[] { jTable2.getValueAt(10, 0).toString(), jTable2.getValueAt(10, 1).toString(), jTable2.getValueAt(10, 2).toString(), jTable2.getValueAt(10, 3).toString(), jTable2.getValueAt(10, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("13", new Object[] { jTable2.getValueAt(11, 0).toString(), jTable2.getValueAt(11, 1).toString(), jTable2.getValueAt(11, 2).toString(), jTable2.getValueAt(11, 3).toString(), jTable2.getValueAt(11, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("14", new Object[] { jTable2.getValueAt(12, 0).toString(), jTable2.getValueAt(12, 1).toString(), jTable2.getValueAt(12, 2).toString(), jTable2.getValueAt(12, 3).toString(), jTable2.getValueAt(12, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("15", new Object[] { jTable2.getValueAt(13, 0).toString(), jTable2.getValueAt(13, 1).toString(), jTable2.getValueAt(13, 2).toString(), jTable2.getValueAt(13, 3).toString(), jTable2.getValueAt(13, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("16", new Object[] { jTable2.getValueAt(14, 0).toString(), jTable2.getValueAt(14, 1).toString(), jTable2.getValueAt(14, 2).toString(), jTable2.getValueAt(14, 3).toString(), jTable2.getValueAt(14, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("17", new Object[] { jTable2.getValueAt(15, 0).toString(), jTable2.getValueAt(15, 1).toString(), jTable2.getValueAt(15, 2).toString(), jTable2.getValueAt(15, 3).toString(), jTable2.getValueAt(15, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("18", new Object[] { jTable2.getValueAt(16, 0).toString(), jTable2.getValueAt(16, 1).toString(), jTable2.getValueAt(16, 2).toString(), jTable2.getValueAt(16, 3).toString(), jTable2.getValueAt(16, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("19", new Object[] { jTable2.getValueAt(17, 0).toString(), jTable2.getValueAt(17, 1).toString(), jTable2.getValueAt(17, 2).toString(), jTable2.getValueAt(17, 3).toString(), jTable2.getValueAt(17, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("20", new Object[] { jTable2.getValueAt(18, 0).toString(), jTable2.getValueAt(18, 1).toString(), jTable2.getValueAt(18, 2).toString(), jTable2.getValueAt(18, 3).toString(), jTable2.getValueAt(18, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("21", new Object[] { jTable2.getValueAt(19, 0).toString(), jTable2.getValueAt(19, 1).toString(), jTable2.getValueAt(19, 2).toString(), jTable2.getValueAt(19, 3).toString(), jTable2.getValueAt(19, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("22", new Object[] { jTable2.getValueAt(20, 0).toString(), jTable2.getValueAt(20, 1).toString(), jTable2.getValueAt(20, 2).toString(), jTable2.getValueAt(20, 3).toString(), jTable2.getValueAt(20, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("23", new Object[] { jTable2.getValueAt(21, 0).toString(), jTable2.getValueAt(21, 1).toString(), jTable2.getValueAt(21, 2).toString(), jTable2.getValueAt(21, 3).toString(), jTable2.getValueAt(21, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("24", new Object[] { jTable2.getValueAt(22, 0).toString(), jTable2.getValueAt(22, 1).toString(), jTable2.getValueAt(22, 2).toString(), jTable2.getValueAt(22, 3).toString(), jTable2.getValueAt(22, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("25", new Object[] { jTable2.getValueAt(23, 0).toString(), jTable2.getValueAt(23, 1).toString(), jTable2.getValueAt(23, 2).toString(), jTable2.getValueAt(23, 3).toString(), jTable2.getValueAt(23, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("26", new Object[] { jTable2.getValueAt(24, 0).toString(), jTable2.getValueAt(24, 1).toString(), jTable2.getValueAt(24, 2).toString(), jTable2.getValueAt(24, 3).toString(), jTable2.getValueAt(24, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("27", new Object[] { jTable2.getValueAt(25, 0).toString(), jTable2.getValueAt(25, 1).toString(), jTable2.getValueAt(25, 2).toString(), jTable2.getValueAt(25, 3).toString(), jTable2.getValueAt(25, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("28", new Object[] { jTable2.getValueAt(26, 0).toString(), jTable2.getValueAt(26, 1).toString(), jTable2.getValueAt(26, 2).toString(), jTable2.getValueAt(26, 3).toString(), jTable2.getValueAt(26, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("29", new Object[] { jTable2.getValueAt(27, 0).toString(), jTable2.getValueAt(27, 1).toString(), jTable2.getValueAt(27, 2).toString(), jTable2.getValueAt(27, 3).toString(), jTable2.getValueAt(27, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("30", new Object[] { jTable2.getValueAt(28, 0).toString(), jTable2.getValueAt(28, 1).toString(), jTable2.getValueAt(28, 2).toString(), jTable2.getValueAt(28, 3).toString(), jTable2.getValueAt(28, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("31", new Object[] { jTable2.getValueAt(29, 0).toString(), jTable2.getValueAt(29, 1).toString(), jTable2.getValueAt(29, 2).toString(), jTable2.getValueAt(29, 3).toString(), jTable2.getValueAt(29, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("32", new Object[] { jTable2.getValueAt(30, 0).toString(), jTable2.getValueAt(30, 1).toString(), jTable2.getValueAt(30, 2).toString(), jTable2.getValueAt(30, 3).toString(), jTable2.getValueAt(30, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("33", new Object[] { jTable2.getValueAt(31, 0).toString(), jTable2.getValueAt(31, 1).toString(), jTable2.getValueAt(31, 2).toString(), jTable2.getValueAt(31, 3).toString(), jTable2.getValueAt(31, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("34", new Object[] { jTable2.getValueAt(32, 0).toString(), jTable2.getValueAt(32, 1).toString(), jTable2.getValueAt(32, 2).toString(), jTable2.getValueAt(32, 3).toString(), jTable2.getValueAt(32, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("35", new Object[] { jTable2.getValueAt(33, 0).toString(), jTable2.getValueAt(33, 1).toString(), jTable2.getValueAt(33, 2).toString(), jTable2.getValueAt(33, 3).toString(), jTable2.getValueAt(33, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("36", new Object[] { jTable2.getValueAt(34, 0).toString(), jTable2.getValueAt(34, 1).toString(), jTable2.getValueAt(34, 2).toString(), jTable2.getValueAt(34, 3).toString(), jTable2.getValueAt(34, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("37", new Object[] { jTable2.getValueAt(35, 0).toString(), jTable2.getValueAt(35, 1).toString(), jTable2.getValueAt(35, 2).toString(), jTable2.getValueAt(35, 3).toString(), jTable2.getValueAt(35, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("38", new Object[] { jTable2.getValueAt(36, 0).toString(), jTable2.getValueAt(36, 1).toString(), jTable2.getValueAt(36, 2).toString(), jTable2.getValueAt(36, 3).toString(), jTable2.getValueAt(36, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("39", new Object[] { jTable2.getValueAt(37, 0).toString(), jTable2.getValueAt(37, 1).toString(), jTable2.getValueAt(37, 2).toString(), jTable2.getValueAt(37, 3).toString(), jTable2.getValueAt(37, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("40", new Object[] { jTable2.getValueAt(38, 0).toString(), jTable2.getValueAt(38, 1).toString(), jTable2.getValueAt(38, 2).toString(), jTable2.getValueAt(38, 3).toString(), jTable2.getValueAt(38, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("41", new Object[] { jTable2.getValueAt(39, 0).toString(), jTable2.getValueAt(39, 1).toString(), jTable2.getValueAt(39, 2).toString(), jTable2.getValueAt(39, 3).toString(), jTable2.getValueAt(39, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("42", new Object[] { jTable2.getValueAt(40, 0).toString(), jTable2.getValueAt(40, 1).toString(), jTable2.getValueAt(40, 2).toString(), jTable2.getValueAt(40, 3).toString(), jTable2.getValueAt(40, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("43", new Object[] { jTable2.getValueAt(41, 0).toString(), jTable2.getValueAt(41, 1).toString(), jTable2.getValueAt(41, 2).toString(), jTable2.getValueAt(41, 3).toString(), jTable2.getValueAt(41, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("44", new Object[] { jTable2.getValueAt(42, 0).toString(), jTable2.getValueAt(42, 1).toString(), jTable2.getValueAt(42, 2).toString(), jTable2.getValueAt(42, 3).toString(), jTable2.getValueAt(42, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("45", new Object[] { jTable2.getValueAt(43, 0).toString(), jTable2.getValueAt(43, 1).toString(), jTable2.getValueAt(43, 2).toString(), jTable2.getValueAt(43, 3).toString(), jTable2.getValueAt(43, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("46", new Object[] { jTable2.getValueAt(44, 0).toString(), jTable2.getValueAt(44, 1).toString(), jTable2.getValueAt(44, 2).toString(), jTable2.getValueAt(44, 3).toString(), jTable2.getValueAt(44, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("47", new Object[] { jTable2.getValueAt(45, 0).toString(), jTable2.getValueAt(45, 1).toString(), jTable2.getValueAt(45, 2).toString(), jTable2.getValueAt(45, 3).toString(), jTable2.getValueAt(45, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("48", new Object[] { jTable2.getValueAt(46, 0).toString(), jTable2.getValueAt(46, 1).toString(), jTable2.getValueAt(46, 2).toString(), jTable2.getValueAt(46, 3).toString(), jTable2.getValueAt(46, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("49", new Object[] { jTable2.getValueAt(47, 0).toString(), jTable2.getValueAt(47, 1).toString(), jTable2.getValueAt(47, 2).toString(), jTable2.getValueAt(47, 3).toString(), jTable2.getValueAt(47, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("50", new Object[] { jTable2.getValueAt(48, 0).toString(), jTable2.getValueAt(48, 1).toString(), jTable2.getValueAt(48, 2).toString(), jTable2.getValueAt(48, 3).toString(), jTable2.getValueAt(48, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("51", new Object[] { jTable2.getValueAt(49, 0).toString(), jTable2.getValueAt(49, 1).toString(), jTable2.getValueAt(49, 2).toString(), jTable2.getValueAt(49, 3).toString(), jTable2.getValueAt(49, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("52", new Object[] { jTable2.getValueAt(50, 0).toString(), jTable2.getValueAt(50, 1).toString(), jTable2.getValueAt(50, 2).toString(), jTable2.getValueAt(50, 3).toString(), jTable2.getValueAt(50, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("53", new Object[] { jTable2.getValueAt(51, 0).toString(), jTable2.getValueAt(51, 1).toString(), jTable2.getValueAt(51, 2).toString(), jTable2.getValueAt(51, 3).toString(), jTable2.getValueAt(51, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("54", new Object[] { jTable2.getValueAt(52, 0).toString(), jTable2.getValueAt(52, 1).toString(), jTable2.getValueAt(52, 2).toString(), jTable2.getValueAt(52, 3).toString(), jTable2.getValueAt(52, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("55", new Object[] { jTable2.getValueAt(53, 0).toString(), jTable2.getValueAt(53, 1).toString(), jTable2.getValueAt(53, 2).toString(), jTable2.getValueAt(53, 3).toString(), jTable2.getValueAt(53, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("56", new Object[] { jTable2.getValueAt(54, 0).toString(), jTable2.getValueAt(54, 1).toString(), jTable2.getValueAt(54, 2).toString(), jTable2.getValueAt(54, 3).toString(), jTable2.getValueAt(54, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("57", new Object[] { jTable2.getValueAt(55, 0).toString(), jTable2.getValueAt(55, 1).toString(), jTable2.getValueAt(55, 2).toString(), jTable2.getValueAt(55, 3).toString(), jTable2.getValueAt(55, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("58", new Object[] { jTable2.getValueAt(56, 0).toString(), jTable2.getValueAt(56, 1).toString(), jTable2.getValueAt(56, 2).toString(), jTable2.getValueAt(56, 3).toString(), jTable2.getValueAt(56, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("59", new Object[] { jTable2.getValueAt(57, 0).toString(), jTable2.getValueAt(57, 1).toString(), jTable2.getValueAt(57, 2).toString(), jTable2.getValueAt(57, 3).toString(), jTable2.getValueAt(57, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("60", new Object[] { jTable2.getValueAt(58, 0).toString(), jTable2.getValueAt(58, 1).toString(), jTable2.getValueAt(58, 2).toString(), jTable2.getValueAt(58, 3).toString(), jTable2.getValueAt(58, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("61", new Object[] { jTable2.getValueAt(59, 0).toString(), jTable2.getValueAt(59, 1).toString(), jTable2.getValueAt(59, 2).toString(), jTable2.getValueAt(59, 3).toString(), jTable2.getValueAt(59, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("62", new Object[] { jTable2.getValueAt(60, 0).toString(), jTable2.getValueAt(60, 1).toString(), jTable2.getValueAt(60, 2).toString(), jTable2.getValueAt(60, 3).toString(), jTable2.getValueAt(60, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("63", new Object[] { jTable2.getValueAt(61, 0).toString(), jTable2.getValueAt(61, 1).toString(), jTable2.getValueAt(61, 2).toString(), jTable2.getValueAt(61, 3).toString(), jTable2.getValueAt(61, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("64", new Object[] { jTable2.getValueAt(62, 0).toString(), jTable2.getValueAt(62, 1).toString(), jTable2.getValueAt(62, 2).toString(), jTable2.getValueAt(62, 3).toString(), jTable2.getValueAt(62, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("65", new Object[] { jTable2.getValueAt(63, 0).toString(), jTable2.getValueAt(63, 1).toString(), jTable2.getValueAt(63, 2).toString(), jTable2.getValueAt(63, 3).toString(), jTable2.getValueAt(63, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("66", new Object[] { jTable2.getValueAt(64, 0).toString(), jTable2.getValueAt(64, 1).toString(), jTable2.getValueAt(64, 2).toString(), jTable2.getValueAt(64, 3).toString(), jTable2.getValueAt(64, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("67", new Object[] { jTable2.getValueAt(65, 0).toString(), jTable2.getValueAt(65, 1).toString(), jTable2.getValueAt(65, 2).toString(), jTable2.getValueAt(65, 3).toString(), jTable2.getValueAt(65, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("68", new Object[] { jTable2.getValueAt(66, 0).toString(), jTable2.getValueAt(66, 1).toString(), jTable2.getValueAt(66, 2).toString(), jTable2.getValueAt(66, 3).toString(), jTable2.getValueAt(66, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("69", new Object[] { jTable2.getValueAt(67, 0).toString(), jTable2.getValueAt(67, 1).toString(), jTable2.getValueAt(67, 2).toString(), jTable2.getValueAt(67, 3).toString(), jTable2.getValueAt(67, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("70", new Object[] { jTable2.getValueAt(68, 0).toString(), jTable2.getValueAt(68, 1).toString(), jTable2.getValueAt(68, 2).toString(), jTable2.getValueAt(68, 3).toString(), jTable2.getValueAt(68, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("71", new Object[] { jTable2.getValueAt(69, 0).toString(), jTable2.getValueAt(69, 1).toString(), jTable2.getValueAt(69, 2).toString(), jTable2.getValueAt(69, 3).toString(), jTable2.getValueAt(69, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("72", new Object[] { jTable2.getValueAt(70, 0).toString(), jTable2.getValueAt(70, 1).toString(), jTable2.getValueAt(70, 2).toString(), jTable2.getValueAt(70, 3).toString(), jTable2.getValueAt(70, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("73", new Object[] { jTable2.getValueAt(71, 0).toString(), jTable2.getValueAt(71, 1).toString(), jTable2.getValueAt(71, 2).toString(), jTable2.getValueAt(71, 3).toString(), jTable2.getValueAt(71, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("74", new Object[] { jTable2.getValueAt(72, 0).toString(), jTable2.getValueAt(72, 1).toString(), jTable2.getValueAt(72, 2).toString(), jTable2.getValueAt(72, 3).toString(), jTable2.getValueAt(72, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("75", new Object[] { jTable2.getValueAt(73, 0).toString(), jTable2.getValueAt(73, 1).toString(), jTable2.getValueAt(73, 2).toString(), jTable2.getValueAt(73, 3).toString(), jTable2.getValueAt(73, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("76", new Object[] { jTable2.getValueAt(74, 0).toString(), jTable2.getValueAt(74, 1).toString(), jTable2.getValueAt(74, 2).toString(), jTable2.getValueAt(74, 3).toString(), jTable2.getValueAt(74, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("77", new Object[] { jTable2.getValueAt(75, 0).toString(), jTable2.getValueAt(75, 1).toString(), jTable2.getValueAt(75, 2).toString(), jTable2.getValueAt(75, 3).toString(), jTable2.getValueAt(75, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("78", new Object[] { jTable2.getValueAt(76, 0).toString(), jTable2.getValueAt(76, 1).toString(), jTable2.getValueAt(76, 2).toString(), jTable2.getValueAt(76, 3).toString(), jTable2.getValueAt(76, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("79", new Object[] { jTable2.getValueAt(77, 0).toString(), jTable2.getValueAt(77, 1).toString(), jTable2.getValueAt(77, 2).toString(), jTable2.getValueAt(77, 3).toString(), jTable2.getValueAt(77, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("80", new Object[] { jTable2.getValueAt(78, 0).toString(), jTable2.getValueAt(78, 1).toString(), jTable2.getValueAt(78, 2).toString(), jTable2.getValueAt(78, 3).toString(), jTable2.getValueAt(78, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("81", new Object[] { jTable2.getValueAt(79, 0).toString(), jTable2.getValueAt(79, 1).toString(), jTable2.getValueAt(79, 2).toString(), jTable2.getValueAt(79, 3).toString(), jTable2.getValueAt(79, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("82", new Object[] { jTable2.getValueAt(80, 0).toString(), jTable2.getValueAt(80, 1).toString(), jTable2.getValueAt(80, 2).toString(), jTable2.getValueAt(80, 3).toString(), jTable2.getValueAt(80, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("83", new Object[] { jTable2.getValueAt(81, 0).toString(), jTable2.getValueAt(81, 1).toString(), jTable2.getValueAt(81, 2).toString(), jTable2.getValueAt(81, 3).toString(), jTable2.getValueAt(81, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("84", new Object[] { jTable2.getValueAt(82, 0).toString(), jTable2.getValueAt(82, 1).toString(), jTable2.getValueAt(82, 2).toString(), jTable2.getValueAt(82, 3).toString(), jTable2.getValueAt(82, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("85", new Object[] { jTable2.getValueAt(83, 0).toString(), jTable2.getValueAt(83, 1).toString(), jTable2.getValueAt(83, 2).toString(), jTable2.getValueAt(83, 3).toString(), jTable2.getValueAt(83, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("86", new Object[] { jTable2.getValueAt(84, 0).toString(), jTable2.getValueAt(84, 1).toString(), jTable2.getValueAt(84, 2).toString(), jTable2.getValueAt(84, 3).toString(), jTable2.getValueAt(84, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("87", new Object[] { jTable2.getValueAt(85, 0).toString(), jTable2.getValueAt(85, 1).toString(), jTable2.getValueAt(85, 2).toString(), jTable2.getValueAt(85, 3).toString(), jTable2.getValueAt(85, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("88", new Object[] { jTable2.getValueAt(86, 0).toString(), jTable2.getValueAt(86, 1).toString(), jTable2.getValueAt(86, 2).toString(), jTable2.getValueAt(86, 3).toString(), jTable2.getValueAt(86, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("89", new Object[] { jTable2.getValueAt(87, 0).toString(), jTable2.getValueAt(87, 1).toString(), jTable2.getValueAt(87, 2).toString(), jTable2.getValueAt(87, 3).toString(), jTable2.getValueAt(87, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("90", new Object[] { jTable2.getValueAt(88, 0).toString(), jTable2.getValueAt(88, 1).toString(), jTable2.getValueAt(88, 2).toString(), jTable2.getValueAt(88, 3).toString(), jTable2.getValueAt(88, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("91", new Object[] { jTable2.getValueAt(89, 0).toString(), jTable2.getValueAt(89, 1).toString(), jTable2.getValueAt(89, 2).toString(), jTable2.getValueAt(89, 3).toString(), jTable2.getValueAt(89, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("92", new Object[] { jTable2.getValueAt(90, 0).toString(), jTable2.getValueAt(90, 1).toString(), jTable2.getValueAt(90, 2).toString(), jTable2.getValueAt(90, 3).toString(), jTable2.getValueAt(90, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("93", new Object[] { jTable2.getValueAt(91, 0).toString(), jTable2.getValueAt(91, 1).toString(), jTable2.getValueAt(91, 2).toString(), jTable2.getValueAt(91, 3).toString(), jTable2.getValueAt(91, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("94", new Object[] { jTable2.getValueAt(92, 0).toString(), jTable2.getValueAt(92, 1).toString(), jTable2.getValueAt(92, 2).toString(), jTable2.getValueAt(92, 3).toString(), jTable2.getValueAt(92, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("95", new Object[] { jTable2.getValueAt(93, 0).toString(), jTable2.getValueAt(93, 1).toString(), jTable2.getValueAt(93, 2).toString(), jTable2.getValueAt(93, 3).toString(), jTable2.getValueAt(93, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("96", new Object[] { jTable2.getValueAt(94, 0).toString(), jTable2.getValueAt(94, 1).toString(), jTable2.getValueAt(94, 2).toString(), jTable2.getValueAt(94, 3).toString(), jTable2.getValueAt(94, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("97", new Object[] { jTable2.getValueAt(95, 0).toString(), jTable2.getValueAt(95, 1).toString(), jTable2.getValueAt(95, 2).toString(), jTable2.getValueAt(95, 3).toString(), jTable2.getValueAt(95, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("98", new Object[] { jTable2.getValueAt(96, 0).toString(), jTable2.getValueAt(96, 1).toString(), jTable2.getValueAt(96, 2).toString(), jTable2.getValueAt(96, 3).toString(), jTable2.getValueAt(96, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("99", new Object[] { jTable2.getValueAt(97, 0).toString(), jTable2.getValueAt(97, 1).toString(), jTable2.getValueAt(97, 2).toString(), jTable2.getValueAt(97, 3).toString(), jTable2.getValueAt(97, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("100", new Object[] { jTable2.getValueAt(98, 0).toString(), jTable2.getValueAt(98, 1).toString(), jTable2.getValueAt(98, 2).toString(), jTable2.getValueAt(98, 3).toString(), jTable2.getValueAt(98, 4).toString() }); i++; } else break; if (jTable2.getRowCount() != i) { data.put("101", new Object[] { jTable2.getValueAt(99, 0).toString(), jTable2.getValueAt(99, 1).toString(), jTable2.getValueAt(99, 2).toString(), jTable2.getValueAt(99, 3).toString(), jTable2.getValueAt(99, 4).toString() }); i++; } else break; } Set<String> keyset = data.keySet(); int rownum = 0; for (String key : keyset) { Row row = sheet.createRow(rownum++); Object[] objArr = data.get(key); int cellnum = 0; for (Object obj : objArr) { XSSFCell cell = (XSSFCell) row.createCell(cellnum++); if (obj instanceof String) cell.setCellValue((String) obj); else if (obj instanceof Integer) cell.setCellValue((Integer) obj); } } try { //Write the workbook in file system FileOutputStream out = new FileOutputStream(new File(filename + ".xlsx")); workbook.write(out); out.close(); JOptionPane.showMessageDialog(null, "Data exported to excel sheet"); } catch (Exception e) { e.printStackTrace(); } // TODO add your handling code here: }