I would need by Java to make a sum of two boxes and put the value in a third, could you give me an example.

With the documentation of the manufacturer is very difficult to carry out.