try
{
// invoke the registered method on the target
Method mthd = (Method)mappingTable.get(evt.getSource());
Object params[] = { evt };
mthd.invoke(theTarget, params);
}
catch (IllegalAccessException e)
{
System.out.println(e);
}
catch (InvocationTargetException e)
{
System.out.println(e);
}