public static void setWithCharacterField(CharacterField comp, TextData value) {
setWithCharacterField(comp, value.toString());
}
public static void setWithCharacterField(CharacterField comp, String value) {
if (comp instanceof DataField)
ActionMgr.addAction(new TextValue((DataField)comp, new TextNullable(value)));
else if (comp instanceof JTextComponent)
ActionMgr.addAction(new TextValue((JTextComponent)comp, new TextNullable(value)));
else if (comp instanceof FillInField)
ActionMgr.addAction(new TextValue((FillInField)comp, new TextNullable(value)));
}