try {
glassPane.setVisible(true);
glassPane.setCursor(new Cursor(Cursor.WAIT_CURSOR));
FileObject fileSystemRoot = PublishUtil.createVFSConnection(loginData);
final JCRSolutionFileSystem fileSystem = (JCRSolutionFileSystem) fileSystemRoot.getFileSystem();
fileSystem.getLocalFileModel().refresh();
} catch (Exception e1) {
UncaughtExceptionsModel.getInstance().addException(e1);
}
finally {
glassPane.setVisible(false);