I have a website, and a JEditorPane
set up already. I'd like to iterate through all the images on the website, and add them to the editor pane, like so:
for (Image image : website.getImages()) {
pane.add(image);
}
Obviously, this is not the real code, but I'd like something like that. Is this possible? I only want to add the images from the website, and no other non-essential HTML code/text.