// The first char should be the char we want as the value.
Character charVal = new Character(newVal.charAt(0));
valueEntryPanel.replaceValueNode(new LiteralValueNode(charVal, typeExpr.copyTypeExpr()), true);
} else if (typeExpr.sameType(typeConstants.getByteType())) {
Double unRoundedVal = new Double(newVal);
Byte byteVal = new Byte(unRoundedVal.byteValue());
valueEntryPanel.replaceValueNode(new LiteralValueNode(byteVal, typeExpr.copyTypeExpr()), true);