Home » Java Basics
6

Threads and GUIs

How threads and GUIs work in the Java program

In This Chapter:

What is a thread?
Defines and provides an overview of a thread in a Java program
Thread Start()
How to start a thread
Thread sleep() and interrupt()
How to use the thread sleep and interrupt
Thread join()
How to use the thread join
Synchronized Methods and Blocks
How to use synchronised methods and blocks
Object wait, notify, and notifyAll
How to use the object wait, notify and notifyAll
Deadlock, Starvation, and Livelock
How to use the deadlock, starvation and livelock
High Level Concurrency Features
Concurrency features and data structures
GUI Applications with Swing
How to create a GUI design using Java