pictureInspector.setPicture( (Picture) picturesList.getSelectedValue() );  int sel = picturesList.getSelectedIndex(); int selN = picturesList.getSelectedIndices().length; delete.setEnabled( sel != -1 );  if ( sel == -1 ) { setStatus( mAlbum.sizePictures() + " pictures, " + ( (int) mAlbum.getPictureFileSize() / 1024 ) + " K" ); } else { setStatus( "Selected " + selN + ((sel==1)?" picture, ":" pictures, ") + ( (int) mAlbum.getObjectFileSize(picturesList.getSelectedValues()) / 1024 ) + " K" ); }
	void updateUI() {		//-- if the list is empty, disable the Upload ---		upload.setEnabled( ( mAlbum.sizePictures() > 0 ) &&				!mInProgress &&				( album.getSelectedIndex() >= 0 ) );		browse.setEnabled( !mInProgress );		fetch.setEnabled( !mInProgress );	}