Button button = new Button(shell, SWT.PUSH);
button.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
widget.clear();
float total = 0;
float totalWater = 0;
float totalVapour = 0;
float max = Float.MIN_VALUE;
float min = Float.MAX_VALUE;