I have a largish application written in Java with a Swing UI. I am interesting in adding user scripting via JavaScript. To allow users to edit JS from within the application, I would like to go beyond a simple plain-text JEditorPane, with some kind of syntax-highlighting and smart indentation. The application is LGPL, so the license would need to be LGPL-compatible.
I can use an old version of jedit-syntax (MIT license), but I wonder if there is any actively-maintained project that does something similar, ideally in a maven-aware fashion. I would rather something lightweight - no Eclipse or NetBeans RCPs, thanks.