if (grouping.getAggregateExpression() != null) { cmbAggregate.setText(grouping.getAggregateExpression()); }
    private void populateLists()    {        // Populate grouping type combo        cmbType.add("Text");        cmbType.add("Number");        cmbType.add("Date/Time");        cmbType.select(0);        // Populate grouping unit combo (applicable only if type is Date/Time        cmbUnit.add("Seconds");        cmbUnit.add("Minutes");        cmbUnit.add("Hours");        cmbUnit.add("Days");        cmbUnit.add("Weeks");        cmbUnit.add("Months");        cmbUnit.add("Quarters");        cmbUnit.add("Years");        cmbUnit.select(0);        // Populate grouping aggregate expression combo        cmbAggregate.add("Sum");        cmbAggregate.add("Average");        cmbAggregate.select(0);    }