In this post I am trying to explain a GUI which is used for compiling and running a java program.
In this program you have to specify the java file which contains the java program.After that on clicking the button compile this simple GUI compiles the java file.If there are any error in source file then that error is displayed in the TextArea of the GUI.If source file contains no error then a success message is displayed in the TextArea.
After that we can run the program by clicking run button.Any run time exception is generated is on the TexArea otherwise the output is displayed.
In this program you have to specify the java file which contains the java program.After that on clicking the button compile this simple GUI compiles the java file.If there are any error in source file then that error is displayed in the TextArea of the GUI.If source file contains no error then a success message is displayed in the TextArea.
After that we can run the program by clicking run button.Any run time exception is generated is on the TexArea otherwise the output is displayed.
Download the Jar file: JavaCompiler.jar
i want that program please can you sent it to my e-mail i will appreciate
ReplyDeleteDanaMhammed@hotmail.com