Java GUI
By khusboo
@khusboo (28)
India
February 19, 2007 4:06am CST
How to compile the source code of java GUI? I have the source code, that i downloaded, but i am unable to compile it. It does have a documentation. Class files list, if any one can provide?
4 responses
@raghwagh (1527)
• India
4 Mar 07
May be one reason for the compilation error can be is that the code may be using some third party classes and you may not have those classes of you may not have placed the classes in classpath.See if you are importing any classes, other than standard clases, in your code then first put those classes in class path and then compile and hope this will solve your problem.If problem is not solved then PM me the code and I will solve your problem.
@JollySelva (69)
• India
1 Mar 07
For compile : javac [file name]
For Run, if applet : appletviwer [file name]
For Run, if application : java [file name]
@Biodrome (89)
• India
27 Feb 07
well, are u using Java GUI thru applet.........???
then u can use appletviewer command at command prompt to view the result........
Syntax:-
javac [[path]/filename.java]
appletviewer [[path]/filename]
if u need more help on class files....
u can use javaw command at command prompt........
Syntax:-
javaw [java.*.*.*....*]
* - class name