PrimeNumbersGenerator++

An advanced prime numbers generator that takes the advantage of multithreading to make the generation faster.
The user will enter a number N to generate the prime numbers from 0 to N. These numbers are then saved to a file.
This program is considered as an example of producer-consumer problem.

The application is written in Java (JavaFX with FXML for the GUI).

Here is a screenshot:
Alt text