Reputation: 263
This is the prototype of my project
Is there a pre-built Java text editor that I can embed so that the syntax will be just like Java?
Upvotes: 4
Views: 160
Reputation: 3155
Using Java ScriptEngine you can embed different scripting languages in your application, including BeanShell which is based on Java.
Check Java Scripting Programmer's Guide and Where can I find a list of available JSR-223 scripting languages? for more information.
Upvotes: 2