Some weeks ago I posted about “Cool stuff: NetBeans and JShell” . Sadly, JShell did not observe the editor if the editor (e.g. gedit) had not been started from within the shell. Thus, you could not have used NetBeans as editor if the shell had been started within the NetBeans terminal window.
I discussed this problem with Robert Field (@JShellRobert). Today he provided me a patch. It uses a new option “-wait” and performs really great. With many thanks to Robert!
Robert told me the patch will be public available soon (expected in build 134).