Part 3: Adding User-friendly Interface

Intro

The application that we have created during Part 1 and Part 2 of the tutorial can accept a file with a Scenario object, run a simulation, and print out the modeling results. This setting is a good starting point for a 'what-if' analysis.

In Part 3, we will see how to get an in-depth understanding of what is going on inside the modeled system, i.e., we will create a new desktop application that shows the state of the runnung simulation model. This state includes the positions of trucks and their current tasks.

The first version of the desktop application will be created using a wizard. After that, we will gradually migrate the simulation model logic from the application that we have already created during previous steps.

Finally, we will enrich the GUI of the new desktop application with the indication of the current simulation state.

For this part, we will need Eclipse IDE.

We will also need the application created during Part 2 of this tutorial. In case you jumped right to Part 3 (without doing Part 1 and Part 2), you can get the Part 2 application source code from GitHub.