Editable java syntax for j2ee application

I need java SyntaxHighlighter for my jsp based web application. The field or TextArea should remain editable as I will need to save the file again to accommodate the user code changes.

I found this https://code.google.com/p/syntaxhighlighter/wiki/Overview , although its code highlighting, but the area is no longer editable.

+3


source to share


1 answer


Try JSyntaxPane . This will require you to use JEditorPane instead of JTextArea. For basic usage take a look here .



0


source







All Articles