Introduction to using the JOptionPane in an OOP way by creating a Popup class with displayMessage and askQuestion methods that make it easy to incorporate into projects.
Table of Contents:
00:18 - Popup project structure
01:16 - The displayMessage method
01:45 - The askQuestion method
02:20 - Guard against null in the code
02:53 - The Coffee class in the model package
03:32 - Using imports for different packages
03:58 - Always init data and model BEFORE view