if (nSlices>1) {
char label = nChannels>1||nFrames>1?'z':'t';
if (stackSize==dim[2] && imp.isComposite()) label = 'c';
zSelector = new ScrollbarWithLabel(this, 1, 1, 1, nSlices+1, label);
if (label=='t') animationSelector = zSelector;
<BUG>add(zSelector);
if (ij!=null) zSelector.addKeyListener(ij);</BUG>
zSelector.addAdjustmentListener(this);
zSelector.setFocusable(false);
int blockIncrement = nSlices/10;

if (nSlices>1) {
char label = nChannels>1||nFrames>1?'z':'t';
if (stackSize==dim[2] && imp.isComposite()) label = 'c';
zSelector = new ScrollbarWithLabel(this, 1, 1, 1, nSlices+1, label);
if (label=='t') animationSelector = zSelector;
add(zSelector);
sliderHeight += zSelector.getPreferredSize().height + ImageWindow.VGAP;
if (ij!=null) zSelector.addKeyListener(ij);
zSelector.addAdjustmentListener(this);
zSelector.setFocusable(false);
int blockIncrement = nSlices/10;
