AttributeSet atts = el.getAttributes();
  protected Component createComponent()  {    Component comp = null;    Element el = getElement();    Object tag = el.getAttributes().getAttribute(StyleConstants.NameAttribute);    if (tag.equals(HTML.Tag.INPUT))      {        AttributeSet atts = el.getAttributes();        String type = (String) atts.getAttribute(HTML.Attribute.TYPE);        String value = (String) atts.getAttribute(HTML.Attribute.VALUE);        if (type.equals("button"))          comp = new JButton(value);        else if (type.equals("checkbox"))          comp = new JCheckBox(value);        else if (type.equals("image"))          comp = new JButton(value); // FIXME: Find out how to fetch the image.        else if (type.equals("password"))          comp = new JPasswordField(value);        else if (type.equals("radio"))          comp = new JRadioButton(value);        else if (type.equals("reset"))          {            if (value == null || value.equals(""))              value = RESET;            comp = new JButton(value);          }        else if (type.equals("submit"))          {            if (value == null || value.equals(""))              value = SUBMIT;            comp = new JButton(value);          }        else if (type.equals("text"))          comp = new JTextField(value);              }    // FIXME: Implement the remaining components.    return comp;  }