You'll find the source under the src folder of the archive.
Here is a break down of what the classes do and how you can use the library in your own projects:
The SyntaxTester is a NetBeans created Main application you can use to see and test how syntax highlighting works. Or you can just start the Jar file in the dist folder.
SyntaxKit: you need to set your JEditorPane control's editorKit to a new instance of this. Just pass the required language as a String to the SyntaxKit constructor:
SyntaxView does all the ugly work of maintaining the Tokens List for the Document and drawing the highlighted document.
SyntaxStyle is used to store various data about the style to use for each TokenType.
And finally SyntaxStyles is just a map of Styles. It has one method to set a Graphics object with the needed Font and Color for a Token.
All the Lexers were created using JFlex and the sources for them are in the JFlex folder of the archive.
Have fun! and please let me know if you find it useful or for any feature requests.