recentOpenedFiles.add(new File(listOfRecentFiles[i]));
}
}
}
setRecentFilesMenu();
jmFile.add(new JSeparator());
jmFile.add(miClose = resources.getItem("close", this));
miClose.setIcon(resources.getIcon("closeImage"));
jmFile.add(miCloseAll = resources.getItem("closeAll", this));
miCloseAll.setIcon(resources.getIcon("closeAllImage"));
jmFile.add(new JSeparator());
jmFile.add(miSave = resources.getItem("save", this));
miSave.setIcon(resources.getIcon("saveImage"));
jmFile.add(miSaveAs = resources.getItem("saveAs", this));
miSaveAs.setIcon(resources.getIcon("emptyImage"));
jmFile.add(miSaveAll = resources.getItem("saveAll", this));
miSaveAll.setIcon(resources.getIcon("emptyImage"));
jmFile.add(new JSeparator());
jmFile.add(miExport = resources.getItem("export", this));
miExport.setIcon(resources.getIcon("exportImage"));
jmFile.add(new JSeparator());
jmFile.add(miRefreshAllSheets = resources.getItem("refresh", this));
miRefreshAllSheets.setIcon(resources.getIcon("refreshImage"));
jmFile.add(new JSeparator());
jmFile.add(miSheetDisplay = resources.getItem("sheetDisplay", this));
miSheetDisplay.setIcon(resources.getIcon("emptyImage"));
jmFile.add(miPrint = resources.getItem("print", this));
miPrint.setIcon(resources.getIcon("printImage"));
jmFile.add(miPrintImage = resources.getItem("printToImg", this));
miPrintImage.setIcon(resources.getIcon("printToImgImage"));
jmFile.add(miSnapShot = resources.getItem("displayImg", this));
miSnapShot.setIcon(resources.getIcon("snapShotImage"));
jmFile.add(new JSeparator());
jmFile.add(miSheetInformation = resources.getItem("sheetInformation", this));
miSheetInformation.setIcon(resources.getIcon("emptyImage"));
jmFile.add(new JSeparator());
jmFile.add(miExit = resources.getItem("exit", this));
miExit.setIcon(resources.getIcon("emptyImage"));
if (mb instanceof JMenuBar) {
((JMenuBar) mb).add(jmFile);
} else if (mb instanceof JMenu) {