Using JEditorPane to Print HTML
I am trying to use JEditorPane to print out an HTML page. I found some handy dandy Java classes to help me out, but I'm having one problem. I send the HTML text line by line to the JEditorPane, then print it out from a PrinterJob. When it prints out, everything is formatted correctly, except that I get a line of greater than (>) symbols all the way down the left hand side of the page. I thought that maybe it wasn't working with the tags correctly, but if that were true, wouldn't all of the formatting (bold, new lines, etc.) be incorrect? Someone please help me out.
Thanks in advance,
EDIT:Never mind. All I had to do was replace the <br/> tags in my HTML code with <br>. This thread can be closed.