View | Details | Raw Unified | Return to bug 60265
Collapse All | Expand All

(-)src/protocol/http/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.java (-12 lines)
Lines 142-158 Link Here
142
    }
142
    }
143
143
144
    /**
144
    /**
145
     * Resize the table columns to appropriate widths.
146
     *
147
     * @param table
148
     *  the table to resize columns for
149
     */
150
    private void sizeColumns(JTable table) {
151
        GuiUtils.fixSize(table.getColumn(PARAMNAME), table);
152
        GuiUtils.fixSize(table.getColumn(MIMETYPE), table);
153
    }
154
155
    /**
156
     * Save the GUI data in the HTTPSamplerBase element.
145
     * Save the GUI data in the HTTPSamplerBase element.
157
     *
146
     *
158
     * @param testElement {@link TestElement} to modify
147
     * @param testElement {@link TestElement} to modify
Lines 403-409 Link Here
403
        p.add(makeButtonPanel(), BorderLayout.SOUTH);
392
        p.add(makeButtonPanel(), BorderLayout.SOUTH);
404
393
405
        table.revalidate();
394
        table.revalidate();
406
        sizeColumns(table);
407
    }
395
    }
408
396
409
    private JScrollPane makeScrollPane(Component comp) {
397
    private JScrollPane makeScrollPane(Component comp) {

Return to bug 60265