Basic Applet Program

Step 1: Create a java source file with name that is name of java class and it is mandatory that classname and filename must be same.
Applet class must be public.

Download Code Link 2 

Step 2: run cmd(command prompt) and compile java source file, AppletDemo.class file'll be build.
then give appletviewer command and applet will pop out.


More Applet Topics :

No comments: