protected void beforeAlertBox(Form f) { Alarm = (Dialog) f; Alarm.setDialogType(Dialog.TYPE_WARNING); Alarm.setTimeout(Alert.FOREVER); }