void autoFillName(String input, KeyEvent e){
		try{
        	int pos = ((JTextField)e.getSource()).getCaretPosition();
        	if(pos > 0){
        		boolean whiteflag = false;
        		String crumb = "";
        		String left = input.substring(0,pos);
        		if(left.indexOf(" ")!=-1){
        			crumb = input.substring(left.lastIndexOf(" "), pos).trim();
        			left = input.substring(0,left.lastIndexOf(" ")+1);
        			whiteflag = true;
        		}else{
        			crumb = input.substring(0,pos);
        		}

                ListIterator<String> it = client.users.listIterator();
                while(it.hasNext()){
                	String name = (String)it.next();
                	if(name.toLowerCase().startsWith(crumb.toLowerCase().trim())){
                		String line = "";
                		if(whiteflag){
                			line = left+name;
                		}else{
                			line = name;
                		}
                		((JTextField)e.getSource()).setText(line+" ");
                		break;
                	}
                }
        	}
		}catch(Exception ex){
			ex.printStackTrace();
		}
	}