// Create a value tree node to use with the value field.
// The value will be the current time.
TypeExpr timeTypeExpr = valueEditorManager.getValueNodeBuilderHelper().getTypeConstructorForName(CAL_RelativeTime.TypeConstructors.RelativeTime);
Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
Date time = calendar.getTime();
RelativeTimeValueNode timeVN = new RelativeTimeValueNode(time, timeTypeExpr);
valueField = new DateTimeValueEntryField(new ValueEntryPanel(valueEditorHierarchyManager, timeVN));
// Give it a larger font.
valueField.setFont(new java.awt.Font("sansserif", Font.BOLD, 18));