protected void showFooter() { footerPanel = new JPanel(); submitButton = new JButton("Abschicken"); submitButton.setMnemonic(KeyEvent.VK_A); submitButton.addActionListener(this); submitButton.setEnabled(checkIfFormIsComplete()); footerPanel.add(submitButton); closeButton = new JButton("Schließen"); closeButton.setMnemonic(KeyEvent.VK_S); closeButton.addActionListener(this); closeButton.setEnabled(true); footerPanel.add(closeButton); allPanel.add(footerPanel); }