System.out.println("got an image for: " + e.getAttribute("src") + " " + im);
    public JComponent getCustomComponent(Element e, Context c, int setWidth, int setHeight) {        JComponent cc = null;        if (e == null) {            return null;        }        if (e.getNodeName().equals("img")) {            cc = getImageComponent(e);            if (cc != null) {                return cc;            }            JButton jb = null;            Image im = null;            im = c.getCtx().getUac().getImage(e.getAttribute("src"));			System.out.println("got an image for: " + e.getAttribute("src") + " " + im);            if (im == null) {                jb = new JButton("Image unreachable. " + e.getAttribute("alt"));            } else {				Image i2 = im.getScaledInstance(setWidth, setHeight, Image.SCALE_FAST);				System.out.println("i2 = " + i2);                ImageIcon ii = new ImageIcon(i2, e.getAttribute("alt"));                jb = new JButton(ii);            }            jb.setBorder(BorderFactory.createEmptyBorder());            jb.setSize(jb.getPreferredSize());            addImageComponent(e, jb);            return jb;        }        //form components        Element parentForm = getParentForm(e);        //parentForm may be null! No problem! Assume action is this document and method is get.        XhtmlForm form = getForm(parentForm);        if (form == null) {            form = new XhtmlForm(c, parentForm);            addForm(parentForm, form);        }        cc = form.addComponent(c, e);        return cc;    }