Things You'll Need:
- Knowledge of HTML An existing website WinZip A Java-enabled browser
-
Step 1
Go to this web page:
http://javaboutique.internet.com/cathome.html. Peruse the many Java Applets available and select the one that would be appropriate for your website. -
Step 2
Download the files to your system. Click on the link after "Download".
-
Step 3
Save the .zip file to your screen by clicking the Save button.
-
Step 4
Open the WinZip program. On the lower left section of your screen, click on the Windows icon. Select Programs and then search for the WinZip program.
When you locate it, click on WinZip and it will open on your screen. -
Step 5
Open the WinZip file you downloaded. In WinZip, go to File > Open Archive.
-
Step 6
Navigate to the WinZip you downloaded to your system. Once you have found your file, click on it and it will automatically open. You should now see all the files that are contained in the WinZip file you downloaded from the Java Applet website.
-
Step 7
Extract the files. Click once on each of the files and then click the Extract button. It will prompt you on your desired location for the files. Put the files in the same directory where you placed the WinZip file.
-
Step 1
Find the page that includes the Java Applet code. When you find it, click on the page and it should open.
-
Step 2
Read the instructions from the author. The author should have indicated any special instructions for adding the code to your web page. Follow all the instructions.
-
Step 3
This is a sample of the type of code you need to include on your web page:
<APPLET codebase="." archive="chat.jar" code="CHAT.class" width=85% height=80%>
<param name="server_side" value="/cgi-bin/chat.pl">
<param name="config" value="config.txt">
<param name="smiles" value="smiles.gif">
Your browser is NOT Java enabled
</APPLET> -
Step 4
Insert the Java Applet code in the appropriate place in your existing HTML code.
-
Step 5
Put the code and all the files on the same server that contains your website's HTML pages. Put the additional files that were in the WinZip file in the directory that has your HTML page.
-
Step 6
Check your web page with the Java Applet. Go to the URL with which you normally access this particular web page. Wait a few seconds and you should see your Java Applet running on your web page.










