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.
Instructions:
1. Run the scenario.
2. When the phone rings, answer it by clicking the image.
There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)
This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.
Want to leave a comment? You must first log in.
2012/5/29
2012/5/30