if (maxT == 0 && maxZ == 0) movie.setEnabled(true);  }
roi = new JButton(im.getIcon(IconManager.ROI)); roi.setToolTipText( UIUtilities.formatToolTipText("Bring up the roi panel.")); if (maxT == 0 && maxZ == 0) movie.setEnabled(true); }
	private void initComponents(Registry registry, int maxZ, int maxT)	{		//buttons		IconManager im = IconManager.getInstance(registry);		viewer3D = new JButton(im.getIcon(IconManager.VIEWER3D));		viewer3D.setToolTipText(			UIUtilities.formatToolTipText("Bring up the image3D viewer."));		viewer3D.setEnabled(maxZ == 0);			saveAs = new JButton(im.getIcon(IconManager.SAVEAS));		saveAs.setToolTipText(			UIUtilities.formatToolTipText("Bring up the save image window."));			inspector  =  new JButton(im.getIcon(IconManager.INSPECTOR));		inspector.setToolTipText(			UIUtilities.formatToolTipText("Bring up the inspector panel."));		render =  new JButton(im.getIcon(IconManager.RENDER));		render.setToolTipText(			UIUtilities.formatToolTipText("Bring up the rendering panel."));		        movie =  new JButton(im.getIcon(IconManager.MOVIE));        movie.setToolTipText(            UIUtilities.formatToolTipText("Bring up the movie panel."));        if (maxT == 0 && maxZ == 0) movie.setEnabled(true);        	}