Field Report

The final task involves create the field report dialog - presenting the user with all of the information about the crops and animals in the field. The following could be true about the field at any given time:

  • It is empty
  • It contains only crops
  • It contains only animals
  • It contains both crops and animals

In our design we had the following:

Field report

We then added the following question to our investigation list:

  • How do we dynamically generate content for a dialog window?

Dynamically creating a dialog window

We must create a dialog window which provides the appropriate information to the user for any of the above situations - this means that we are going to have to dynamically create the components of the window.

The video demonstrates how to do this.

Task 11

Use the above video to create the field report dialog and add the functionality to the simulation.