Currently ALOHA is doing all calculations, e.g. the calculation of model response matrices, lazily. This has the advantage that no unnecessary calculations are done, but for time-consuming calculations, it has the major drawback that it is difficult to tell when an operation will block for ~minutes to re-calculate. If done in the Swing thread, these calculations can lock up the GUI.
Perhaps we should consider doing heavy calculations eagerly, on a well-defined trigger, in a background thread, and with a proper status/progress display in the GUI.
Currently ALOHA is doing all calculations, e.g. the calculation of model response matrices, lazily. This has the advantage that no unnecessary calculations are done, but for time-consuming calculations, it has the major drawback that it is difficult to tell when an operation will block for ~minutes to re-calculate. If done in the Swing thread, these calculations can lock up the GUI.
Perhaps we should consider doing heavy calculations eagerly, on a well-defined trigger, in a background thread, and with a proper status/progress display in the GUI.