|
hi
we can execute an applet program by 2 ways.
1.include html code in the java program that is it can be at start of the program or at end of the program and run this as usual like javac ex.java then appletviewer ex
2 the second method is write html code in separte file with extension as html.after compiling java program execute the html file in browser.
in the first method v r executing an applet as java program.
|