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.
Open your Web browser and navigate to the page containing the Java applet you want to download.
Right-click in a blank area on the page and select "View Source," "View Page Source" or "View Document Source."
Press the "Ctrl" and "F" keys simultaneously to bring up the search tool.
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.
Highlight the entire class file name contained between the quotation marks (e.g., "filename.class").
Press the "Ctrl" and "C" keys simultaneously to copy the filename to the clipboard.
Single-click the URL contained in the address bar along the top of your Web browser window.
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.
Press the "Ctrl" and "V" keys simultaneously to append the name of the Java applet to the existing URL.
Press the "Enter" key.
Save the class file to your computer when prompted by your Web browser.