public void actionPerformed(ActionEvent e){
		if(e.getSource() == connectbutton){
			try {
				connect();
				indicator.setText("Connecting...");
				indicator.setForeground(Color.blue);
			} catch (IOException e1) {

			}
		}else if(e.getSource() == sendbutton){
			//Show Status
			indicator.setText("Encrypting");
	        indicator.setForeground(Color.GREEN);
			
			send();
		}else if(e.getSource() == disconnect){
			try {
				disconnect();
			} catch (IOException e1) {
				//e1.printStackTrace();
			}
		}else if(e.getSource() == sendbox){
			sendbutton.doClick();
		}
	}