Driver driver = getDriver();
Driver driver = (Driver) getDriver();
	protected void eventListener(KeyEvent e) {		Driver driver = getDriver();		byte[] shortName = new byte[(name.getText()).length()];		byte[] longName = new byte[16];		int shortLength = shortName.length;		if (shortLength > 16)			shortLength = 16;				try { 			shortName = (name.getText()).getBytes("US-ASCII"); 			longName = new String("                ").getBytes("US-ASCII");		}		catch (UnsupportedEncodingException ex) {}		System.arraycopy(shortName, 0, longName,  0, shortLength);		System.arraycopy(longName, 0, b,  8, 16);		if (driver != null){			driver.setPatchName(getPatch(), name.getText());			driver.send(b);}	}