Calculate difference between live value and values
Every document has values, that are either loaded from file or obtain as result of capturing live values. Calculate a distance between live values and values of currently opened document. Display this distance as a JLabel and update it with other GUI elements.