O'Reilly logo

Sams Teach Yourself Beginning Programming in 24 Hours, Second Edition by Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 15 Applets and Web Pages

In this hour you will learn how to embed Java applets inside Web pages. As explained first in Hour 12, Java applets are small programs that travel with Web page code and execute on the end-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 return to your site.

As you’ll see, the Java language does not change whether you’re programming for an application or an applet. The way you set up a Java applet is different from the way you set up a standalone application but once you’ve set up ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required