_max = max;
// Make sure that step size is at least one
_stepSize = Math.max(_max / 100, 1);
_manager = new DialogFieldManager();
_popupScreen = new PopupScreen(_manager);
_gaugeField = new GaugeField(null, 0, max, 0, GaugeField.PERCENT);
_lbfield = new LabelField(title, Field.USE_ALL_WIDTH);
_manager.addCustomField(_lbfield);