protected JComponent createFormControl() { TableFormBuilder formBuilder = new TableFormBuilder(getBindingFactory()); this.address = formBuilder.add("address")[1]; formBuilder.row(); formBuilder.add("city"); return formBuilder.getForm(); }
@Override protected JComponent createFormControl() { SwingBindingFactory bindingFactory = (SwingBindingFactory) getBindingFactory(); TableFormBuilder formBuilder = new TableFormBuilder(bindingFactory); formBuilder.addSeparator("Benutzerdaten"); formBuilder.row(); formBuilder.add("anmeldename"); formBuilder.row(); formBuilder.addPasswordField("passwort"); formBuilder.row(); return formBuilder.getForm(); }