How to Download Java Applets

Developed by Sun Microsystems, Java is an object-oriented programming language. It allows programmers to compile programs into class files—sometimes referred to as "applets"—that can run on any computer that has the Java Runtime Environment software installed. If you encounter an applet on a Web page, you have the option of downloading the associated class file to your computer. The process takes just a few clicks, once you know where to look.

...
View the source code of a Web page to find the location of the Java applets it contains.

Step

Open your Web browser and navigate to the page containing the Java applet you want to download.

Step

Right-click in a blank area on the page and select "View Source," "View Page Source" or "View Document Source."

Step

Press the "Ctrl" and "F" keys simultaneously to bring up the search tool.

Step

Type ".class" (without quotation marks) in the search field and press the "Enter" key to locate the name of the file within the source code.

Step

Highlight the entire class file name contained between the quotation marks (e.g., "filename.class").

Step

Press the "Ctrl" and "C" keys simultaneously to copy the filename to the clipboard.

Step

Single-click the URL contained in the address bar along the top of your Web browser window.

Step

Press the "End" key to move the cursor to the end of the address, and then press the "Backspace" key until you have deleted all of the text that appears following the last "/" character in the URL.

Step

Press the "Ctrl" and "V" keys simultaneously to append the name of the Java applet to the existing URL.

Step

Press the "Enter" key.

Step

Save the class file to your computer when prompted by your Web browser.