public PhotoPanel getCurrentPhotoPanel(){
		Component[] comps = this.singlePhotoPanel.getComponents();
		for(int i=0 ;i < comps.length; i++){
			if(comps[i] instanceof PhotoPanel){
				return (PhotoPanel) comps[i];
			}
		}
		return null;
	}