Back to Browse

Java Popup Class

186 views
Oct 11, 2022
7:28

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

Download

1 formats

Video Formats

360pmp414.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Java Popup Class | NatokHD