Log.log(Log.TRACE, MODULE, "Album '" + newAlbumName + "' created. Selecting it...");
Log.log(Log.LEVEL_TRACE, MODULE, "Album '" + newAlbumName + "' created. Selecting it...");
	public void newAlbum() {		NewAlbumDialog dialog = new NewAlbumDialog(this, getCurrentGallery(), getCurrentAlbum());		final String newAlbumName = dialog.getNewAlbumName();		Log.log(Log.TRACE, MODULE, "Album '" + newAlbumName + "' created. Selecting it...");		// 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) {					e.printStackTrace();				}				jAlbumCombo.setSelectedItem(getCurrentGallery().getAlbumByName(newAlbumName));			}		}.start();	}