if (cSelector!=null||zSelector!=null||tSelector!=null)
removeScrollbars();
ImageJ ij = IJ.getInstance();
if (nChannels>1) {
cSelector = new ScrollbarWithLabel(this, 1, 1, 1, nChannels+1, 'c');
<BUG>add(cSelector);
if (ij!=null) cSelector.addKeyListener(ij);</BUG>
cSelector.addAdjustmentListener(this);
cSelector.setFocusable(false); // prevents scroll bar from blinking on Windows
cSelector.setUnitIncrement(1);

if (cSelector!=null||zSelector!=null||tSelector!=null)
removeScrollbars();
ImageJ ij = IJ.getInstance();
if (nChannels>1) {
cSelector = new ScrollbarWithLabel(this, 1, 1, 1, nChannels+1, 'c');
add(cSelector);
sliderHeight += cSelector.getPreferredSize().height + ImageWindow.VGAP;
if (ij!=null) cSelector.addKeyListener(ij);
cSelector.addAdjustmentListener(this);
cSelector.setFocusable(false); // prevents scroll bar from blinking on Windows
cSelector.setUnitIncrement(1);
