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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access