final double border = 5;
final double colsGap = 10;
final double[][] size = {{border, TableLayoutConstants.FILL, colsGap, TableLayoutConstants.PREFERRED, border}, // Columns
{border, TableLayoutConstants.FILL, border}};// Rows
final TableLayout tbl = new TableLayout(size);
_includePanel = new JPanel(tbl);
_includePanel.setBorder(BorderFactory.createTitledBorder("Include filter files"));
final ListModel model = new DefaultListModel();
_includeList = ListFacade.createList(model);
_includeList.setVisibleRowCount(7);
_includeList.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
_includeList.setCellRenderer(new ExpandPathMacroListRenderer(_parent.getProject()));
final Component scrollPane = ScrollPaneFacade.createScrollPane(_includeList, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
_includePanel.add(scrollPane, "1, 1, 1, 1"); // col ,row, col, row
final double rowsGap = 5;
final double[][] bPanelSize = {{border, TableLayoutConstants.PREFERRED}, // Columns
{border, TableLayoutConstants.PREFERRED, rowsGap, TableLayoutConstants.PREFERRED, border}};// Rows
final TableLayout btbl = new TableLayout(bPanelSize);
final Container buttonPanel = new JPanel(btbl);
_includePanel.add(buttonPanel, "3, 1, 3, 1");
final AbstractButton addButton = new JButton();