simple GUI
I have written a simple java program
I run it using
>javac abc.java //compile
>java abc //run
from the command prompt
I have no experience in creating gui in any Prog Lang
i need to design a simple gui,just having a single button,that
when clicked does the job of "javac & java"
my program is very simple .it has 3 modes of running,which I have to
specify by passing parameters at command line.
please guide me in designing the gui for normal mode.
(in normal mode i don't have to pass any parameters at command line)
just: >javac abc.java
>java abc
then,I will manage for other modes.
One of my friends was saying that,u have to create an html file
having a 'link' that is connected to javac command,but unfortunately,he is out of touch with 'gui's and does'nt remember exactly
please help and send the code(i guess ,which applies to all progs)
soon.it is urgent,and i am having a tough time studying it from books.
Thank you
|