public void setZoomComboBox(JComboBox zcb, float[] zl) {
        zoomComboBox = zcb;
        documentViewController.setZoomLevels(zl);
        zoomComboBox.setSelectedItem(NumberFormat.getPercentInstance().format(1.0));
        zoomComboBox.addItemListener(this);
    }