Thursday, October 11, 2012

Explore Applet by creating textbox, checkbox, list, radio button


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


Step 2: Run cmd(command prompt) and compile java source file, MyAction.class file'll be build.

then give appletviewer command and applet will pop out.



output:

No comments:

Popular Posts