{
String documentPath = getCurrentDocumentPath();
if (documentPath!=null && !documentPath.equals("")) {
try {
ConfigBean configBean = configFile.read();
TreeForm treeForm = new TreeForm(imageUtil);
treeForm.initServices(configFile.read().getHost());
treeForm.startUp(configBean.getUser(), configBean.getPassword(),documentPath);
treeForm.setVisible(true);
} catch (OKMException ex) {
new ErrorForm(ex);
}
} else {
new ErrorForm(new OKMException(lang.getString("main.error.save.file")));