- addLabel("Variable-width text field:", 1, row);
- addField(35, row++, 15, false, "Field text");
- addLabel("Fixed-width text field:", 1, row);
- addField(35, row++, 15, true);
- addLabel("Variable-width password:", 1, row);
- addPasswordField(35, row++, 15, false);
- addLabel("Fixed-width password:", 1, row);
- addPasswordField(35, row++, 15, true, "hunter2");
- row += 1;
-
- if (!isModal()) {
- addLabel("Radio buttons and checkboxes", 1, row);
- addButton("&Checkboxes", 35, row,
- new TAction() {
- public void DO() {
- new DemoCheckboxWindow(getApplication());
- }
+ addLabel(i18n.getString("radioButtonLabel"), 1, row);
+ addButton(i18n.getString("radioButtonButton"), 35, row,
+ new TAction() {
+ public void DO() {
+ new DemoCheckBoxWindow(getApplication());