public void actionPerformed(ActionEvent event) {
		
		// ActionEvent from "connect" Button
		if(event.getSource() == buttonConnect) {
			String host = txtHost.getText();
			int port = Integer.parseInt(txtPort.getText());
			try {
				// Generate a TCP Client and start it as a Thread
				tcpclient = new TCPClient(new Socket(host, port), txtConsole);
				tcpclient.start();
				tcpclient.send(txtName.getText());
				
				// Update UI
				txtHost.setEnabled(false);
				txtPort.setEnabled(false);
				txtName.setEnabled(false);
			} catch (Exception ex) {
				JOptionPane.showMessageDialog(null, "Es konnte keine Verbindung hergestellt werden!", "Fehler", JOptionPane.ERROR_MESSAGE);
			}
		}
		
		// ActionEvent from "send" Button
		if(event.getSource() == buttonSend) {
			String msg = txtMessage.getText();
			tcpclient.send(msg);
		}
	}