public ResultSetRecordViewerForm(ResultSetTable table) {
this.table = table;
ResultSetDataModel model = table.getModel();
row = (ResultSetDataModelRow) model.getRowAtIndex(table.getSelectedRow());
Project project = row.getModel().getProject();
RecordViewInfo recordViewInfo = table.getRecordViewInfo();
// HEADER
String headerTitle = recordViewInfo.getTitle();
Icon headerIcon = recordViewInfo.getIcon();
Color headerBackground = UIUtil.getPanelBackground();
if (getEnvironmentSettings(project).getVisibilitySettings().getDialogHeaders().value()) {
headerBackground = model.getConnectionHandler().getEnvironmentType().getColor();
}
DBNHeaderForm headerForm = new DBNHeaderForm(