Skip to content Skip to sidebar Skip to footer

JTextPane HTML Renderer Wrong?

I have a JTextPane and want to create a div within it, with exactly the height of the JTextPane. The div should be always the height of the JTextPane. public class Test { JTextPan

Solution 1:

Any ideas?

Abandon pursuing the DIV idea, and instead set the style to the BODY element. The body will fill the available space unless the content is too long to fit, then it will overflow.


Post a Comment for "JTextPane HTML Renderer Wrong?"