Chapter 17. Creating Interactive Web Programs

<feature><title></title>

WHAT YOU’LL LEARN IN THIS HOUR:

  • Stopping and starting an applet

  • Putting an applet on a web page

  • Customizing an applet with parameters on a web page

  • Displaying web pages in an application

</feature>

Java has become successful as a general-purpose language that runs on many distinct platforms, including cell phones, web servers, and Internet appliances. When the language was introduced in the mid-1990s, it was the first programming language that could run inside a web browser.

Applets are Java programs designed to run as part of a web page. When a Java applet is encountered on a page, it is downloaded to the user’s computer and begins running.

Programming applets is different than ...

Get Sams Teach Yourself Java™ in 24 Hours, Fifth 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.