public JComponent create() {
JButton button = new JButton();
Image image = null;
if (hasAttribute("src")) {
FSImage fsImage = getUserAgentCallback().getImageResource(getAttribute("src")).getImage();
if (fsImage != null) {
image = ((AWTFSImage) fsImage).getImage();
}
}