How can I use JTextPane to style a section of text as "CODE," like you often see on forums, or you see here on stack overflow?\[code\]public static main(String[] args) { /** * Look at this Code Block, ain't it grand? * I wish I had something like this in my program. */}\[/code\]Or how I have seen done on wikipedia, where the text is like this:http://img39.imageshack.us/img39/4516/example.JPGThank you!