});
final User administrator = new User();
administrator.setRole(role);
administrator.setRoots(new Folder[] { (Folder) Nodes.getRoot() });
final Window window = new Window(I18N.get("Setup_Administrator"));
window.setClosable(false);
window.setParent(getRoot());
Editor editor = new Editor();
editor.setObject(administrator);
editor.addChangeListener(new ActionListener() {
public void actionPerformed(Event evt) {
window.close();
redirectToLogin();
}
});
editor.refresh();
editor.setParent(window);