Display this field.
Go through the sFieldList and setText for JTextComponents and setControlValue for
FieldComponents.
@see org.jbundle.model.screen.FieldComponent
545693
public void displayField()                  // init this field override for other value
    {
        if (m_vScreenField == null)
            return;
        for (int i = 0; i < m_vScreenField.size(); i++)
        {
            Object component = m_vScreenField.elementAt(i);
            Convert converter = null;
            if (component instanceof ScreenComponent)
                converter = ((ScreenComponent)component).getConverter();
            if (converter == null)
                converter = this;
            if ((this.getFieldName().equals(this.getNameByReflection(component)))
                || (converter.getField() == this))
            {
                if (component instanceof FieldComponent)
                    ((FieldComponent)component).setControlValue(converter.getData());
              else if (component.getClass().getName().contains("ext"))  // JTextComponent/JTextArea - TODO FIX This lame code!
                    this.setTextByReflection(component, converter.getString());
//                else if (component instanceof JTextComponent)
//                    ((JTextComponent)component).setText(converter.getString());
            }
        }
    }
624540
@Override
	public void doRender(final WComponent component, final WebXmlRenderContext renderContext) {
		WNumberField field = (WNumberField) component;
		XmlStringBuilder xml = renderContext.getWriter();
		boolean readOnly = field.isReadOnly();

		BigDecimal value = field.getValue();
		String userText = field.getText();

		xml.appendTagOpen("ui:numberfield");
		xml.appendAttribute("id", component.getId());
		xml.appendOptionalAttribute("class", component.getHtmlClass());
		xml.appendOptionalAttribute("track", component.isTracking(), "true");
		xml.appendOptionalAttribute("hidden", component.isHidden(), "true");
		if (readOnly) {
			xml.appendAttribute("readOnly", "true");
		} else {
			WComponent submitControl = field.getDefaultSubmitButton();
			String submitControlId = submitControl == null ? null : submitControl.getId();
			BigDecimal min = field.getMinValue();
			BigDecimal max = field.getMaxValue();
			BigDecimal step = field.getStep();
			int decimals = field.getDecimalPlaces();
			xml.appendOptionalAttribute("disabled", field.isDisabled(), "true");
			xml.appendOptionalAttribute("required", field.isMandatory(), "true");
			xml.appendOptionalAttribute("toolTip", field.getToolTip());
			xml.appendOptionalAttribute("accessibleText", field.getAccessibleText());
			xml.appendOptionalAttribute("min", min != null, String.valueOf(min));
			xml.appendOptionalAttribute("max", max != null, String.valueOf(max));
			xml.appendOptionalAttribute("step", step != null, String.valueOf(step));
			xml.appendOptionalAttribute("decimals", decimals > 0, decimals);
			xml.appendOptionalAttribute("buttonId", submitControlId);

			String autocomplete = field.getAutocomplete();
			xml.appendOptionalAttribute("autocomplete", !Util.empty(autocomplete), autocomplete);
		}

		xml.appendClose();

		xml.appendEscaped(value == null ? userText : value.toString());
		if (!readOnly) {
			DiagnosticRenderUtil.renderDiagnostics(field, renderContext);
		}
		xml.appendEndTag("ui:numberfield");
	}
1109018
@Override
    public void visitField(Field obj) {
        String fieldSig = obj.getSignature();
        if ("Ljavax/swing/JLabel;".equals(fieldSig)) {
            FieldAnnotation fa = FieldAnnotation.fromVisitedField(this);

            fieldLabels.add(XFactory.createXField(fa));
        }
    }
1063473
private void addInfoLayoutComponents() {

        TextField siteTableFilter = new TextField();
        siteTableFilter.setIcon(FontOpenCms.FILTER);
        siteTableFilter.setInputPrompt(
            Messages.get().getBundle(UI.getCurrent().getLocale()).key(Messages.GUI_EXPLORER_FILTER_0));
        siteTableFilter.addStyleName(ValoTheme.TEXTFIELD_INLINE_ICON);
        siteTableFilter.setWidth("200px");
        siteTableFilter.addTextChangeListener(new TextChangeListener() {

            private static final long serialVersionUID = 1L;

            public void textChange(TextChangeEvent event) {

                m_table.filterTable(event.getText());
            }
        });
        m_infoLayout.addComponent(siteTableFilter);

    }
903758
public void setupFields()
    {
        FieldInfo field = null;
        field = new FieldInfo(this, ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
        field.setDataClass(Integer.class);
    }
1104318
def setComponent(self, component):
        """"""
        details = component.auto_details()
        state = component.stateDict()
        for field, detail in details.items():
            val = state[field]
            self.inputWidgets[field].setValue(val)
        self._component = component
378591
public void init(BaseField field, BasePanel screenParent, BasePanel subScreen)
    {
        super.init(field);
        m_iCurrentScreenNo = -1;
        m_screenParent = screenParent;
        this.setCurrentSubScreen(subScreen);
    }
813771
public void fieldToControl()
    {
        if (this.getConverter() != null)
        {
            Object objValue = this.getScreenFieldView().getFieldState();
            if (this.getScreenFieldView().getControl() != null)
                this.getScreenFieldView().setComponentState(this.getScreenFieldView().getControl(), objValue);
        }
    }
699063
public Object getControlValue()
    {
        int i = this.getComponentCount() - 1;
        JComponent component = (JComponent)this.getComponent(i);
        if (component instanceof FieldComponent)
            ((FieldComponent)component).setControlValue(m_converter.getData());
        else if (component instanceof JTextComponent)
            ((JTextComponent)component).setText(m_converter.toString());

        return m_converter.getData();
    }
140421
public ScreenComponent setupIconView(ScreenLoc itsLocation, ComponentParent targetScreen, Convert converter, int iDisplayFieldDesc, boolean bIncludeBlankOption)
    {
        ScreenComponent screenField = null;
        Record record = this.makeReferenceRecord();
        //  Set up the listener to read the current record on a valid main record
        
        ImageField fldDisplayFieldDesc = this.getIconField(record);
        if (fldDisplayFieldDesc.getListener(BlankButtonHandler.class) == null)
            fldDisplayFieldDesc.addListener(new BlankButtonHandler(null));
        if (fldDisplayFieldDesc != null)
        {    // The next two lines are so in GridScreen(s), the converter leads to this field, while it displays the fielddesc.
            FieldConverter fldDescConverter = new FieldDescConverter(fldDisplayFieldDesc, (Converter)converter);
            Map<String,Object> properties = new HashMap<String,Object>();
            properties.put(ScreenModel.IMAGE, ScreenModel.NONE);
            properties.put(ScreenModel.NEVER_DISABLE, Constants.TRUE);
            screenField = createScreenComponent(ScreenModel.BUTTON_BOX, itsLocation, targetScreen, fldDescConverter, iDisplayFieldDesc, properties);
            //?{
            //?    public void setEnabled(boolean bEnabled)
            //?    {
            //?        super.setEnabled(true); // Never disable
            //?    }
            //?};
            String strDisplay = converter.getFieldDesc();
            if (!(targetScreen instanceof GridScreenParent))
                if ((strDisplay != null) && (strDisplay.length() > 0))
            { // Since display string does not come with buttons
                ScreenLoc descLocation = targetScreen.getNextLocation(ScreenConstants.FIELD_DESC, ScreenConstants.DONT_SET_ANCHOR);
                properties = new HashMap<String,Object>();
                properties.put(ScreenModel.DISPLAY_STRING, strDisplay);
                createScreenComponent(ScreenModel.STATIC_STRING, descLocation, targetScreen, converter, iDisplayFieldDesc, properties);
            }
        }

        if (((targetScreen instanceof GridScreenParent)) || (iDisplayFieldDesc == ScreenConstants.DONT_DISPLAY_FIELD_DESC))
        { // If there is no popupbox to display the icon, I must explicitly read it.
            this.addListener(new ReadSecondaryHandler(fldDisplayFieldDesc.getRecord()));
        }
        return screenField;
    }
59159
public void setFieldValue(Object fieldValue) {
		ReflectionUtils.callSetter(parentWrapper.getItem(), field.getName(), fieldValue);
	}
912867
protected JLabel createLabelFor(String fieldName, JComponent component) {
		JLabel label = getComponentFactory().createLabel("");
		getFormModel().getFieldFace(fieldName).configure(label);
		label.setLabelFor(component);

		FormComponentInterceptor interceptor = getFormComponentInterceptor();
		if (interceptor != null) {
			interceptor.processLabel(fieldName, label);
		}

		return label;
	}
508176
public void selectField(ScreenField sfCurrent, int iSelectField)
    {
        ScreenField sField = this.getComponentAfter(sfCurrent, iSelectField);
        if (sField != null)
            sField.requestFocus();
    }
1152941
public void dataToField(ComponentCache componentCache, int iRowIndex, int iColumnIndex)
    {
        if (componentCache.m_rgcompoments[iColumnIndex] != null)
        {
            String string = null;
            if (componentCache.m_rgcompoments[iColumnIndex] instanceof JTextComponent)
                string = ((JTextComponent)componentCache.m_rgcompoments[iColumnIndex]).getText();
            if (componentCache.m_rgcompoments[iColumnIndex] instanceof JCheckBox)
                if (((JCheckBox)componentCache.m_rgcompoments[iColumnIndex]).isSelected())
                    string = "1";
            //xif (string != null) if (string.length() > 0)
            this.getModel().setValueAt(string, iRowIndex, iColumnIndex);
        }
    }
894650
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        if (
            $this->allow_ignore_validation_errors &&
            ($this->has_validation_errors ||
                $this->ignore_errors_checkbox->value)
        ) {
            $ignore_field = $this->getCompositeWidget('ignore_field');
            $ignore_field->display();
        }
    }
1218442
public void addComponent(Object screenField)
    {
        if (this.getNextConverter() != null)
            this.getNextConverter().addComponent(screenField);
        else
            super.addComponent(screenField);
    }
478165
public void setupFields()
    {
        FieldInfo field = null;
        field = new FieldInfo(this, ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
        field.setDataClass(Integer.class);
        field.setHidden(true);
        field = new FieldInfo(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);
        field.setDataClass(Date.class);
        field.setHidden(true);
        field = new FieldInfo(this, DELETED, 10, null, new Boolean(false));
        field.setDataClass(Boolean.class);
        field.setHidden(true);
        field = new FieldInfo(this, SCREEN_IN_PROG_NAME, 40, null, null);
        field = new FieldInfo(this, SCREEN_OUT_NUMBER, 2, null, null);
        field.setDataClass(Short.class);
        field = new FieldInfo(this, SCREEN_ITEM_NUMBER, 4, null, null);
        field.setDataClass(Short.class);
        field = new FieldInfo(this, SCREEN_FILE_NAME, 40, null, null);
        field = new FieldInfo(this, SCREEN_FIELD_NAME, 40, null, null);
        field = new FieldInfo(this, SCREEN_ROW, 8, null, null);
        field.setDataClass(Short.class);
        field = new FieldInfo(this, SCREEN_COL, 4, null, null);
        field.setDataClass(Short.class);
        field = new FieldInfo(this, SCREEN_GROUP, 4, null, null);
        field = new FieldInfo(this, SCREEN_PHYSICAL_NUM, 4, null, null);
        field.setDataClass(Short.class);
        field = new FieldInfo(this, SCREEN_LOCATION, 20, null, null);
        field = new FieldInfo(this, SCREEN_FIELD_DESC, 30, null, null);
        field = new FieldInfo(this, SCREEN_TEXT, 9999, null, null);
        field = new FieldInfo(this, SCREEN_ANCHOR, 20, null, null);
        field = new FieldInfo(this, SCREEN_CONTROL_TYPE, 20, null, null);
    }