try {
writeMethod.invoke(box, ((Number) source.getFormatter().stringToValue(source.getText())).shortValue());
} catch (ParseException e) {
throw new RuntimeException(e);
} catch (InvocationTargetException e) {
throw new RuntimeException(e);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
}