swing - Java jeditorpane rtf images -


i jeditorpane display rtf images microsoft wordpad. have simple program got example off of web. created demo file in wordpad of styles wordpad supports. strikethrough, super-script, sub-script , highlight not being read or displayed when reading file. highlight nice other don't need others. part critical images in rtf, show in wordpad on in java. using:

rtfeditorkit rtf = new rtfeditorkit(); jeditorpane editor = new jeditorpane(); editor.seteditorkit(rtf); rtf.read(fi, editor.getdocument(), 0); 

if rtfeditorkit cannot support images there editor kit can? can't person try rtf work properly. cannot use html editor kit because need images embeded rtf format.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -