You are previewing Sams Teach Yourself Java in 21 Days, Sixth Edition.

Sams Teach Yourself Java in 21 Days, Sixth Edition

Cover of Sams Teach Yourself Java in 21 Days, Sixth Edition by Rogers Cadenhead Published by Sams
O'Reilly logo

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.