for (int i = 0; i < tcm.getColumnCount(); i++) {
            int width = oblockDataModel.getPreferredWidth(i);
            tcm.getColumn(i).setPreferredWidth(width);
        }