private void updateTotals() { if (MGWT.getFormFactor().isDesktop()) { txtBudget.setValue(getAmountFormat().format(project.budgeted().getTotal())); txtActual.setValue(getAmountFormat().format(project.actual().getTotal())); txtPaid.setValue(getAmountFormat().format(project.paid().getTotal())); txtBalance.setValue(getAmountFormat().format(project.balance().getTotal())); txtPercent.setValue(getPercentFormat().format(project.percent())); } }