Can anybody help me with simple log, I have to add at first line on JTextPane log messages with chosen color ( green ok, red failure ). How to achieve this ?
You can use HTML for that and then do
textPane.setContentType("text/html");