code: public void init(Rec record, String strName, int iDataLength, String strDesc, Object objDefault)
      {
          m_record = (FieldList)record;
          if (m_record != null)
              m_record.addField(this);
          m_strFieldName = strName;
          m_iMaxLength = iDataLength;
          m_strFieldDesc = strDesc;
          if (objDefault != null)
              m_classData = objDefault.getClass();
          else
              m_classData = String.class;
          m_bHidden = false;
          m_bModified = false;
          m_data = null;  // The actual data!!!
          m_iMinLength = 0;
          m_ibScale = 2;
          m_vScreenField = null;
          m_objDefault = objDefault;
  
          super.init(null);
          this.initField(false);      // Don't display because there can't be any sFields yet.
      }
docs: Initialize this field.
  After setting up the input params, initField() is called.
  @param record The parent record. This field is added to the record's field list.
  @param strName The field name.
  @param iDataLength The maximum length (DEFAULT_FIELD_LENGTH if default).
  @param strDesc The string description (pass null to use the description in the resource file).
  @param objDefault The default (initial) field value in string or native format.