code: protected void openFileMenuBar() {
  		List<BoofSwingUtil.FileTypes> types = new ArrayList<>();
  		if( allowImages )
  			types.add(BoofSwingUtil.FileTypes.IMAGES);
  		if( allowVideos )
  			types.add(BoofSwingUtil.FileTypes.VIDEOS);
  		BoofSwingUtil.FileTypes array[] = types.toArray(new BoofSwingUtil.FileTypes[0]);
  
  		File file = BoofSwingUtil.openFileChooser(DemonstrationBase.this,array);
  		if (file != null) {
  			openFile(file);
  		}
  	}
docs: Open file in the menu bar was invoked by the user