Hour 15. Applets and Web Pages
In this hour, you will learn how to embed Java applets inside web pages. As explained in Hour 12, “Programming with Java,”, Java applets are small programs that travel with web page code and execute on the user’s computer. Generally, you’ll want to keep your applets small because they load with the user’s web page. Unlike standalone Java applications, which can be much larger, the more efficient your applets are, the faster they load with a web page and the more likely your users are to be happy with the load time.
As you’ll see, the Java language does not change whether you’re programming an applet or any other kind of program. The way you set up a Java applet is different from the way you set up a standalone application ...
Get Beginning Programming in 24 Hours, Sams Teach Yourself, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.