albumList = null; selectedAlbum = null; if (comm != null) { comm.logOut();
boolean logout = true;  if (hasPictures()) { if (JOptionPane.showConfirmDialog(null, grRes.getString(MODULE, "logoutQuestion"), grRes.getString(MODULE, "logoutQuestion.title"), JOptionPane.YES_NO_OPTION) == JOptionPane.NO_OPTION) { logout = false; }
	public void logOut() {		albumList = null;		selectedAlbum = null;		if (comm != null) {			comm.logOut();		}		comm = null;		notifyListeners();	}