Class c = getRendererClass(i); presentation.setModelPane(activate(c), true);
presentation.setModelPane(activate(getRendererClass(i)), true);
    public void activateRenderingModel(int i)    {        Class c = getRendererClass(i);        presentation.setModelPane(activate(c), true);        QuantumPane qp = presentation.getQuantumPane();        if (i == GREY) {            qp.setSelectionWavelengthsEnable(false);            ChannelData[] channelData = getChannelData();            for (int j = 0; j < channelData.length; j++) {                if (isActive(j)) {                    qp.setSelectedWavelength(j);                    presentation.getTabs().setSelectedIndex(                                            RenderingAgtUIF.POS_MODEL);                    break;                }            }        } else qp.setSelectionWavelengthsEnable(true);        abstraction.setModel(i);    }