A
Ashanen
....the simplest way to have a very small Java program (eg "hello world")
actually entered in a text area, and when an " execute button" is pressed, it
will actually execute it as a program.
At present I am using that the tasks for the button would have to include
saving the text area contents as a Java file, then calling a dos process
somehow to compile and execute it. But I am unclear on how to do that (get it
to call the DOS process). Or even whether this is the simplest way of doing
this!
actually entered in a text area, and when an " execute button" is pressed, it
will actually execute it as a program.
At present I am using that the tasks for the button would have to include
saving the text area contents as a Java file, then calling a dos process
somehow to compile and execute it. But I am unclear on how to do that (get it
to call the DOS process). Or even whether this is the simplest way of doing
this!