This patch updates the ImageViewer example to use Multiple Threading.

Bruce Momjian <bruce@momjian.us>

Commit: 03ab5f01740a7c2c3fe570d5253aa9bd039d0c70
Author: Bruce Momjian <bruce@momjian.us>
Date: 1998-10-12T02:45:45Z
Releases: 7.1.1
This patch updates the ImageViewer example to use Multiple Threading.

When importing an image into the database, the example now fires off a
new
Thread, which imports the image in the background. This also means that
the application doesn't freeze on the user, and they can still browse
the
images in the database, while the upload is running.

This now makes the ImageViewer a true example on how to use Threads (the
threadtest class is just that - a test).

Peter

Files

PathChange+/−
src/interfaces/jdbc/example/ImageViewer.java modified +120 −49