tags:

views:

152

answers:

1

I'm trying to embed the JEditTextArea into my application, which is available here: http://syntax.jedit.org/

I was wondering if there was a definitive guide to doing this? I am having problems getting the packages to work, and am not sure how I'm supposed to even go about importing them into my project. If anyone has gotten this to work, or has a better solution to getting syntax highlighting in my application, any help is greatly appreciated.

Thanks.

A: 

If you are using Swing then perhaps StyledDocument is for you? I've used it for syntax highlighting in applications and it was relatively painless.

javamonkey79