Posts which you will also like.

Friday, November 11, 2011

A Tutorial on Creating GUI for compiling and running a JAVA program

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.


Download the Jar file: JavaCompiler.jar

1 comment:

  1. i want that program please can you sent it to my e-mail i will appreciate
    DanaMhammed@hotmail.com

    ReplyDelete

Your comment may wait for moderation....

DMCA.com Protected by Copyscape Online Plagiarism Tool