4

This is the prototype of my project

enter image description here

Is there a pre-built Java text editor that I can embed so that the syntax will be just like Java?

user2864740
  • 60,010
  • 15
  • 145
  • 220
user3276091
  • 263
  • 3
  • 10

1 Answers1

2

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.

Community
  • 1
  • 1
Ricardo Veguilla
  • 3,107
  • 1
  • 18
  • 17