As users we are familiar with multithreaded applications. As programmers we may not be familiar with the concept.
Concurrent programs are notorious for being hard to develop and debug.
Therefore, though Java has built-in support for concurrency, many programmers rely on familiar sequential coding. This article is a tour in the land of multithreading in Java. It introduces the mechanisms and demonstrates how to use them in limited but very common cases. By reading this article, you will learn efficient strategies to safely introduce concurrency in your applets where it is most demanding, dramatically boosting their performance and user satisfaction. In concurrent programs, several independent activities happen at the same time.