Day 14. Developing Swing Applications

The first exposure many people have to the Java programming language is applets—small, security-restricted Java programs that run on web pages. Java Web Start, a protocol for downloading and running Java programs, makes it possible to launch applications from a web page 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 deploy it

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

• How to address these problems using SwingWorker, a class that performs Swing work in its own thread

Java Web Start ...

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