Report as inappropriate.
This project shows how to use Java dialogs created with JOptionPane in your Greenfoot scenarios. Java dialogs provide an easy way to get user input, such as a name, for use in a scenario.
There are three main types of dialogs supported:
- input dialogs
- confirmation dialogs
- message dialogs
You will see all three used in this scenario.
1. Run the scenario.
2. When the phone rings, answer it by clicking the image.
Want to leave a comment? You must first log in.