It is very easy in Java to read an image and you can store the image contents as flat file. To achieve this, read the image file using ImageIO class in Java and convert the array of bytes into String ...
Taking a closer look at the constructors for JEditorPane will help us understand why it cannot display images in relative paths. If the first constructor is used, displayed text must be inserted after ...