2.9- Dialog Boxes (JOptionPane)
08/18/2018
|
0:05:00
Using dialog boxes to display information and get information from users
2.9- Dialog Boxes (JOptionPane)
Created: 08/18/2018
0:00:55
JOptionPane.showMessageDialog( ) - displays String information in a dialog box
0:01:38
Why do we put null in for the first argument?
0:02:19
Need to import javax.swing.JOptionPane to use dialog boxes (Eclipse does this for us)
0:02:47
JOptionPane.showMessageDialog( ) - allows users to enter String information in a dialog box
0:04:26
System.exit(0) to make sure thread ends (recommended by authors of our book)