private void newContact() {
		final JDialog dialog = new JDialog();
		dialog.setResizable(false);
		dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
		dialog.setTitle("Neuen Kontakt erstellen");
		dialog.setBounds(this.getLocationOnScreen().x + 350,
				this.getLocationOnScreen().y + 80, 230, 180);
		dialog.getContentPane().setLayout(new BorderLayout());
		JPanel contentPanel = new JPanel();
		contentPanel.setLayout(new FlowLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		dialog.getContentPane().add(contentPanel, BorderLayout.CENTER);

		JLabel lblVorname = new JLabel("Vorname");
		contentPanel.add(lblVorname);

		final JTextField textField = new JTextField();
		contentPanel.add(textField);
		textField.setColumns(10);

		JLabel lblNachname = new JLabel("Nachname");
		contentPanel.add(lblNachname);

		final JTextField textField_1 = new JTextField();
		contentPanel.add(textField_1);
		textField_1.setColumns(10);

		JLabel lblEmail = new JLabel("Email");
		contentPanel.add(lblEmail);

		final JTextField textField_2 = new JTextField();
		contentPanel.add(textField_2);
		textField_2.setColumns(10);

		JPanel buttonPane = new JPanel();
		buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
		dialog.getContentPane().add(buttonPane, BorderLayout.SOUTH);

		JButton okButton = new JButton("Speichern");
		okButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				Pattern p = Pattern.compile("^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$");
				Matcher m = p.matcher(textField_2.getText().trim());
				if (!(textField.getText().isEmpty())
						&& !(textField_1.getText().isEmpty())
						&& !(textField_2.getText().isEmpty())
						&& m.matches()) {
					ek = ekd.create();
					ek.setVorname(textField.getText().trim());
					ek.setNachname(textField_1.getText().trim());
					ek.setEmail(textField_2.getText().trim());
					ekd.save(ek);
					displayLast();
				} else if ((textField.getText().isEmpty())
						|| (textField_1.getText().isEmpty())
						|| (textField_2.getText().isEmpty())
						|| !m.matches()) {
					JOptionPane.showMessageDialog(null,
							"Die Felder wurden nicht korrekt ausgef\u00FCllt!");
				}
			}
		});
		buttonPane.add(okButton);
		getRootPane().setDefaultButton(okButton);

		JButton cancelButton = new JButton("Cancel");
		cancelButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dialog.dispose();
			}
		});
		buttonPane.add(cancelButton);
		dialog.setVisible(true);
	}