private JPanel createValidationPanel(Container contentPane) { JPanel pnValidationContainer = new JPanel(); contentPane.add(pnValidationContainer, BorderLayout.SOUTH); pnValidationContainer.setLayout(new BorderLayout(0, 0)); pnValidation = new JPanel(); pnValidation.setMinimumSize(new Dimension(0, 0)); pnValidation.setName(NAME_VALIDATION_PANEL); validationModel = new DefaultValidationResultModel(); pnValidation.setLayout(new MigLayout("", "[grow]", "[40px,grow]")); validationResultList = ValidationResultViewFactory.createReportList(validationModel); pnValidation.add(validationResultList, "cell 0 0,alignx right,growy"); pnValidationContainer.add(pnValidation, BorderLayout.NORTH); return pnValidationContainer; }
private JComponent createValidationView() { return ValidationResultViewFactory.createReportList(model.getValidationModel()); }