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