protected JbsLangEntryHelper createTextField(JbsLanguage language) {
return new JbsLangEntryTextField(language);
}
protected void initPanel() {
Grid grdMain = new Grid(2);
grdMain.setInsets(new nextapp.echo2.app.Insets(5, 5));
grdMain.setColumnWidth(0, new JbsExtent(300));
Iterator<JbsLangEntryHelper> it = this.getTextFields().iterator();
while (it.hasNext()) {
JbsLangEntryTextField txtField = (JbsLangEntryTextField) it.next();
grdMain.add(new Label(txtField.getLanguage().getName()));
grdMain.add(txtField);
}
this.getPnMain().add(grdMain);
}