public void eaDeleteFolder(int eaInt_SeletedRow) { ArrayList<String> folders = EA_Utils.getColumnsArrayList(); String path = eaStr_ValuesFolderPath + folders.get(eaInt_SeletedRow); File eaDelFile = new File(path); EA_Utils.eaDeleteFile(eaDelFile); EA_Utils.refreshList(); refreshTable(); }
private Object[][] getValuesArray() { EA_Utils.refreshList(); ArrayList<String> eaArrayList_ColumnsNames = EA_Utils.getColumnsArrayList(); Object[][] obj = new Object[eaArrayList_ColumnsNames.size()][2]; for (int index = 0; index < eaArrayList_ColumnsNames.size(); index++) { obj[index][0] = eaArrayList_ColumnsNames.get(index); } for (int index = 0; index < eaArrayList_ColumnsNames.size(); index++) { obj[index][1] = "Delete"; } return obj; }
@Override public void windowClosed(WindowEvent e) { EA_Utils.refreshList(); refreshTable(); }