answersLogoWhite

0

1. first you type your applet programm in notepad in save it as classname.java in the bin directory. example: if the class name is A then save it in jdk1.5->bin as A.java

2. now create a HTML file in notepad as given below

and save it as in bin by A.HTML

NOTE: applet code should be always classname.java and also save with same classname.HTML

3. now go to strart->run type cmd press enter the dos screen will open.

4. give the location where you saved the file as

D: CD jdk1.5 press enter

CD bin enter

javac A.java

appletviewer A.HTML

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you run and compile a java applet program?

One can run and compile a Java applet program by agreeing to the terms and downloading it. It is possible to get a compiler online that will compile and run Java programs.


What are the kinds of java programs?

the two types of java programs are Applet and application programs


Small Java-based programs are called?

Java applets


Describe java applet?

applets are small programs that can be run on a browser's window or an applet viewer.


How do you compile java programs using windows vista text pad?

How can I compile java programs using windows vista text pad?


Differences between Java Applet and Java Beans?

Java applet is a program used to run java applications while beans is a compiler used to design java programs (IDE, GUI) :-) GilbertC


What are the two types of programs?

2 types of java programs are application and applet application program is the one which run on ur computer under the O.S of ur computer. applet is an application designed to be transmitted over the internet and executed java compatible web browser.


When an applet become an applet?

Any Java class that extends java.applet.Applet is an applet. http://java.sun.com/j2se/1.5.0/docs/api/java/applet/Applet.html


What is the DOS command applet?

There is nothing called DOS applet.. You can run Java applet from DOS..


Can be used the programs in Java compiled under Windows XP with Windows 8.1?

It should work, yes. It really doesn't matter where you compile it - if you compile under Windows XP, you don't compile FOR Windows XP; rather, you compile for the virtual machine, which is compatible in different environments.


What is an important difference between writing a Java application and a Java applet?

A Java applet is embedded within a web page, while a Java application will run directly on your computer.


What is a Java applet?

PCH answer small Embedded Java Program.