setScrollPaneSize();
    private void initComponents(IconManager im, int numRows, int numColumns,                                 ScreenROI roi)    {        moveResizeBox = new JCheckBox("Apply op to the stack");        moveResizeBox.setToolTipText(                UIUtilities.formatToolTipText("Apply the Move/Resize action " +                        "to all 2D-selections drawn on planes " +                        "within the stack"));        allTimepoints = new JRadioButton("Fill from start to end");        finalTimepoints = new JRadioButton("Copy start to end timepoints");        allTimepoints.setSelected(true);        ButtonGroup group = new ButtonGroup();        group.add(allTimepoints);        group.add(finalTimepoints);        copyStack = new JButton(im.getIcon(IconManager.COPY_STACK));        copyStack.setToolTipText(                UIUtilities.formatToolTipText("Copy the selected stack " +                        "across time."));        //TextField        startT = new JTextField(""+0, (""+numColumns).length());        endT = new JTextField(""+(numColumns-1), (""+numColumns).length());        initTxtWidth(startT);                //Initialize the table        table = new ColoredCellTable(numRows, numColumns, roi.getLogicalROI());        JList rowHeader = new JList(new HeaderListModel(numRows));        if (numRows > MAX) rowHeader.setFixedCellWidth(WIDTH_MAX);        else rowHeader.setFixedCellWidth(WIDTH_MIN);        rowHeader.setFixedCellHeight(table.getRowHeight());        rowHeader.setCellRenderer(new RowHeaderRenderer(table));        scrollPane = new JScrollPane(table);        scrollPane.setRowHeaderView(rowHeader);        scrollPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10));    }