private void initComponents() {
list.addListSelectionListener(editAction);
list.addListSelectionListener(removeAction);
list.setVisibleRowCount(8);
ButtonStackBuilder buttonBuilder = new ButtonStackBuilder();
buttonBuilder.addGridded(new JButton(addAction));
buttonBuilder.addRelatedGap();
buttonBuilder.addGridded(new JButton(editAction));
buttonBuilder.addGlue();
buttonBuilder.addGridded(new JButton(removeAction));
FormLayout formLayout = new FormLayout("pref:grow, 4dlu, pref", "fill:pref:grow");
PanelBuilder panelBuilder = new PanelBuilder(this, formLayout);
panelBuilder.add(new JScrollPane(list), "1,1");
panelBuilder.add(buttonBuilder.getPanel(), "3,1");
getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("INSERT"), "add");
getActionMap().put("add", new AbstractAction() {
public void actionPerformed(ActionEvent e) {
addAction.actionPerformed(e);