[Advanced-java] Syntax Highlighting - using Swing - JTextPane

Florian Roth rothflorian at gmx.de
Wed Mar 5 08:55:14 2003


Hi

I did it more complex and it isn't working good yet because I'm a beginner
in working with Swing's text components. I created an lexographcal analyzer
with jflex (www.jflex.de). Doing it this way you must express e.g.  your
keywords in regular expressions. JFlex contains an document how to create an
language scanner.

If you want to see how I did it you can download my program at
http://www.synatic.net/?page=download&id=2
and if you want the lex file, i can send you the source.

Florian Roth