Ok so, theres two sides to Java. Applications, and Applets. Java Applications are ran with the MS-DOS, or command line. Java Applets are ran with a appletviewer, or your web browser (web browser has to have a java plug-in).
Java Applications are written from a text editor program (such as notepad), compiled using the "Javac" command into a class, and then ran all in MS-DOS.
Java Applets are written in a text editor program, compiled into a class by using the "Javac" command, then you are to create a html (Hyper-text-markup-language) document, which you will then use the:
tags.
Lets say your class name is: Wonderful.class
it would be:
Code:
<APPLET CODE="Wonderful.class", WIDTH=300, HEIGHT=400></APPLET>
As you well know, Java Applets can create animated pictures, games, and more!
Bookmarks