Finding Java GUI components / ideas for syntax highlighting

I am not committed to any particular GUI or anything else - just need to be Java based. I want to make simple syntax highlighting (XML and XQuery) inside editable text areas.

My only candidate so far is Swing JTextPane, as it seems to support text styling, but I don't know how to implement it in this context.

If a particular toolkit has something similar out of the box, that would be awesome, but I can do it manually if necessary.

+5
source share
3 answers

JSyntaxPane XML

http://code.google.com/p/jsyntaxpane/wiki/Using

, , NetBeans, , , ...

[edit] btw, XML ... , , google ...

+4

Jide Highligher. -, , XML. , , , .

+1

Ostermiller.

JTextPane.

0
source

All Articles