private void removeConfig() {
String name = (String) this.jComboBoxConfigNames.getSelectedItem();
this.jComboBoxConfigNames.removeAllItems();
// Delete the config file
XPlanetRessourceFinder rf = new XPlanetRessourceFinder();
String pathXPlanet = rf.getRootDirectoryForDownloads();
// Delete command file
// At the moment windows is supported only
String fileExtension = "cmd";
File commandFile = new File(pathXPlanet + File.separator + name + "." + fileExtension);
boolean deleted = commandFile.delete();
if (!deleted) {
this.logger.fine("Failed to delete file: " + commandFile);
} else {
this.logger.fine("Deleted config file: " + commandFile);
}
// Delete config file
String configDir = rf.getRessourceDirectory("config");
File f = new File(configDir + File.separator + name);
boolean b = f.delete();
if (!b) {
this.logger.fine("Failed to delete file: " + f);
} else {