A syntax highlighting, code folding text editor for Java Swing applications
Taken from https://github.com/bobbylight/RSyntaxTextArea
RSyntaxTextArea is a customizable, syntax highlighting text component for Java Swing applications. Out of the box, it supports syntax highlighting for over 30 programming languages, code folding, search and replace, and has add-on libraries for code completion and spell checking. Syntax highlighting for additional languages can be added via tools such as JFlex.
RSyntaxTextArea is available under a modified BSD license. For more information, visit http://fifesoft.com/rsyntaxtextarea.