Chapter 14. Developing Swing Applications

The first exposure of many people to the Java programming language is in the form of applets, small and secure Java programs that run as part of a web page.

Java Web Start, a protocol for downloading and running Java programs, makes it possible to run applications from a web browser as if they were applets.

Today, you learn how to create these web-launched Java programs as you explore the following topics:

  • How to install and run Java applications in a web browser

  • How to publish your application’s files and run it

  • How Swing applications can run into performance slowdowns on time-consuming tasks

  • How to solve this problem by using SwingWorker, a class that performs Swing work in its own thread

Java Web Start

One ...

Get Sams Teach Yourself Java™ 6 in 21 Days 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.