Regex « JEditorPane « Java Swing Q&A





1. Regular Expression, JEditorPane, Self-closing tags    stackoverflow.com

I'm am using JEditorPane to render basic HTML. But it renders self-closing tags incorrectly, specifically br tags, e.g. <br /> is bad but <br> is good. I would like ...

2. Syntax highlighting in JEditorPane in java    stackoverflow.com

I want to perform syntax highlighting in jEditorPane. It allows me to perform single line syntax highlighting but if the XML tag is split into two or more line it does ...