ResultSetDataModel dataModel = executionResult.getTableModel(argument);
RecordViewInfo recordViewInfo = new RecordViewInfo(
executionResult.getResultName(),
executionResult.getResultIcon());
ResultSetTable resultTable = new ResultSetTable(dataModel, true, recordViewInfo);
resultTable.setPreferredScrollableViewportSize(new Dimension(500, -1));
resultPanel.setBorder(IdeBorderFactory.createBorder());
resultScrollPane.setViewportView(resultTable);
resultScrollPane.setRowHeaderView(resultTable.getTableGutter());
resultScrollPane.getViewport().setBackground(resultTable.getBackground());
JPanel panel = new JPanel();
panel.setBorder(UIUtil.getTableHeaderCellBorder());
resultScrollPane.setCorner(ScrollPaneConstants.UPPER_LEFT_CORNER, panel);