projectFile = handler
.createTempPath(rmProject.getPath() + rmProject.getName()
+ "/" + JSimConstants.PROJECTCONFFILE);
projectFile += JSimConstants.PROJECTCONFFILE;
}
IXMLWriter projectWriter = new ProjectSettingSAXWriter(project);
try {
projectWriter.writeXML(projectFile);
} catch (Exception e) {
JOptionPane.showMessageDialog(frame, e.getMessage(), "Save error",
JOptionPane.ERROR_MESSAGE);
e.printStackTrace();
}