@Override
	public void keyReleased(KeyEvent e) 
	{
	
		if( nameField.getText().contains(";") || passwordField.getText().contains(";") )
		{
			warnhinweis.setText( "Invalid Character: ';'");
			warnhinweis.setVisible(true);
			save.setEnabled(false);
		}else
		if( nameField.getText().contains("=") || passwordField.getText().contains("=") )
		{
			warnhinweis.setText( "Invalid Character: '='");
			warnhinweis.setVisible(true);
			save.setEnabled(false);
		}else
		if( !sfm.checkdoublednames(nameField.getText(), selectedname) )
		{
			warnhinweis.setText( "Name already exists");
			warnhinweis.setVisible(true);
			save.setEnabled(false);
		}else
			//wenn name und passwort unverändert = nicht speichern
		if( nameField.getText().equals(selectedname) && passwordField.getText().equals(sfm.getPasswd(selectedname)))
		{
			save.setEnabled(false);
		}else
		if( nameField.getText().length() > maxCharName)
		{
			warnhinweis.setText( "Maximum of Characters: " + maxCharName + " (" + nameField.getText().length() + ")");
			warnhinweis.setVisible(true);
			save.setEnabled(false);
		}else		
		{
			warnhinweis.setVisible(false);
			save.setEnabled(true);
		}
		
	}