getCurrentGallery().reload();
	public void newAlbum() {		NewAlbumDialog dialog = new NewAlbumDialog(this, getCurrentGallery(), getCurrentAlbum());		//String newAlbumName = dialog.getNewAlbumName();		Album newAlbum = dialog.getNewAlbum();		//Album parentAlbum = dialog.getParentAlbum();		if (newAlbum == null) {			return;		}		String newAlbumName = getCurrentGallery().doNewAlbum(newAlbum, GalleryRemote._().getCore().getMainStatusUpdate());		if (newAlbumName.equals(newAlbum.getName())) {			newAlbum.setName(newAlbumName);		}		Log.log(Log.LEVEL_TRACE, MODULE, "Album '" + newAlbum + "' created.");		// there is probably a better way... this is needed to give the UI time to catch up		// and load the combo up with the reloaded album list		//new Thread() {		//	public void run() {		//		try {		//			Thread.sleep(1000);		//		} catch (InterruptedException e) {		//			Log.logException(Log.LEVEL_ERROR, MODULE, e);		//		}				//SwingUtilities.invokeLater(new Runnable() {				//	public void run() {				Log.log(Log.LEVEL_TRACE, MODULE, "Selecting " + newAlbum);				TreePath path = new TreePath(newAlbum.getPath());//new TreePath(getCurrentGallery().getPathToRoot(newAlbum));				//jAlbumTree.expandPath(path.getParentPath());				// todo: this call doesn't seem to have any effect				//jAlbumTree.makeVisible(path);				jAlbumTree.scrollPathToVisible(path);				jAlbumTree.setSelectionPath(path);				//jAlbumTree.repaint();				//	}				//});		//	}		//}.start();		// We've been modified, we are now dirty.		setDirtyFlag(true);	}