On 5/12/2016 12:18 PM, Alexey Ivanov wrote:
HTMLEditorKit htmlKit = new HTMLEditorKit(); Document doc = htmlKit.createDefaultDocument(); htmlKit.read(new FileReader(...), doc, 0);
Thank you for advice, this works fine: http://cr.openjdk.java.net/~mcherkas/8078268/webrev.03/