Skip to content

wagnerjfr/market-cashier-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supermarket Cashier Simulation in Java

Learn about Concurrent Processing, Queues, Threads, and Swing GUI

Overview

Have you ever been to those supermarkets where a ‘thread pool’ of cashiers processes a queue of clients? If so, this article is going to present one such implementation that can emulate similar functionality. We will utilize Java, Queue, Thread, Concurrency, and Swing to visualize the execution.

Application running

The picture below shows the cashiers in the middle of the images, the clients in line waiting for an available cashier and a summary of transactions in the top of the screen.

alt text

Releases

No releases published

Packages

No packages published

Languages