Processing Editor could be better

I was wondering if there is a way to write your own editor, if the backend of processing is still there? Or is everything done in the editor? Meaning: Would there be an option to create a basic processing editor (just text and a run and stop button) in maybe javafx? If that would be possible easily you could create your own version of an editor.