previous |
start |
next
Reading Text Input
- Call JOptionPane.showInputDialog in the
constructor
- Dialog has warning label--security feature
- Set instance variables with the input results
- Read them in the paint method
- Need to wait for chapter 10/12 for more elegant input
previous |
start |
next