<BUG>layout.setVerticalGroup(layout.createParallelGroup(Alignment.LEADING).addComponent(scrollPane).addComponent(toolboxPanel));}</BUG><CONTEXT>layout.setAutoCreateContainerGaps(true);layout.setAutoCreateGaps(true);layout.setHorizontalGroup(layout.createSequentialGroup().addComponent(scrollPane, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, Short.MAX_VALUE).addComponent(toolboxPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE));<extra_id_0>private List<JButton> buildButtons() {return new LinkedList<>(Arrays.asList(new JButton(addAction), new JButton(changeAction), new JButton(removeAction)));}</CONTEXT>
this.validationPanel = new ValidationPanel();this.validationPanel.setInnerComponent(subPanel);this.subPanel.attach(validationPanel.getValidationGroup());