How to wrap text around an image in Java? Or how to accomplish CSS float in Java?
I am loading a HTML text with some image tags into JTextPane component.
Example:
text text text text <img src="image.ext"> text text text
Example2: http://www.bbc.co.uk/news/world-us-canada-11882019 (text left, image right something similar)
And i need the image to be wrapped with a text.
Tried using css... float: right; (Java doesn't support that feature.. need it..)
Tried all image alignments(left, right etc.) (no luck..)
P.S. PHP programmer..