Form<AdminObject> form = new Form<AdminObject>(AdminObject.class);
form.setNumColumns(2);
TextItem name = new TextItem("name", "Name");
TextBoxItem jndiItem = new TextBoxItem("jndiName", "JNDI");
TextBoxItem classItem = new TextBoxItem("adminClass", "Class Name");
//CheckBoxItem enabled = new CheckBoxItem("enabled", "Enabled?");
form.setFields(name, jndiItem, classItem);
form.setEnabled(false);