How to Download Java Web Pages
If your favorite Java game is available on the Internet, you might want the ability to play it while you aren't online. This isn't an easy task; it involves looking into the HTML code in the website and trying to find where the Java class for the applet is hiding. If the web developer is smart, the page source may be encrypted and the location of this file may be impossible to find. However, it might be possible by following these steps.
Instructions
-
-
1
Navigate to the website containing the Java applet.
-
2
Double-click on some white space on the site and click "View Page Source."
-
-
3
Go to "Edit," "Find" and search for the string "<Applet" without the quotes. If the search yields a result, you're in luck.
-
4
Copy the text in quotes next to "CODE=". It should be "something.class".
-
5
Go to "File," then "Save Page As" in the browser window that contains the Java applet site, then save the web page as an HTML file. If you tried to run the web page now, the Java applet would not load. It needs to be downloaded separately.
-
6
Select the text in the address of the page after the last slash (probably "something.html") and replace it with the ".class" file by going to "Edit," "Paste." For example, if the address bar read "http://www.javagames.com/FunGames/TicTacToe.html" you would replace "TicTacToe.html" with "something.class" from step 4.
-
7
Your browser will then ask you if you'd like to save the ".class" file. Save it in the same directory as a ".html" file and select "OK."
-
8
Navigate to the directory of your HTML file. Double-click it, and your browser will open, running the website (with the Java applet) locally on your computer.
-
1
References
- Photo Credit black video games controler or games pad image by Warren Millar from Fotolia.com