private JPanel buildRuleFilePanel() {
setColumnWith(locationTable, 0, ACTIVE_COL_MIN_WIDTH, ACTIVE_COL_MAX_WIDTH, ACTIVE_COL_MAX_WIDTH);
setColumnWith(locationTable, 1, DESC_COL_MIN_WIDTH, DESC_COL_MAX_WIDTH, DESC_COL_MAX_WIDTH);
locationTable.setAutoResizeMode(JTable.AUTO_RESIZE_LAST_COLUMN);
locationTable.setStriped(true);
locationTable.getTableHeader().setReorderingAllowed(false);
final ToolbarDecorator tableDecorator = ToolbarDecorator.createDecorator(locationTable);
tableDecorator.setAddAction(new AddLocationAction());
tableDecorator.setEditAction(new EditPropertiesAction());
tableDecorator.setRemoveAction(new RemoveLocationAction());
tableDecorator.setEditActionUpdater(new DisableForDefaultUpdater());
tableDecorator.setRemoveActionUpdater(new DisableForDefaultUpdater());
tableDecorator.setPreferredSize(DECORATOR_DIMENSIONS);
final JPanel container = new JPanel(new BorderLayout());
container.add(new TitledSeparator(CheckStyleBundle.message("config.file.tab")), BorderLayout.NORTH);
container.add(tableDecorator.createPanel(), BorderLayout.CENTER);
final JLabel infoLabel = new JLabel(CheckStyleBundle.message("config.file.description"),
Icons.icon("/general/information.png"), SwingConstants.LEFT);
infoLabel.setBorder(JBUI.Borders.empty(8, 0, 4, 0));
container.add(infoLabel, BorderLayout.SOUTH);
return container;
}