Announcement Announcement Module
Collapse
No announcement yet.
Adding extra JComponents onto a form Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding extra JComponents onto a form

    Hello
    Is there an easier way to accomplish this
    within createFormControl of a AbstractForm
    Code:
    JTextField newMaterialBalanceAreaText = getComponentFactory().createTextField();
    newMaterialBalanceAreaText.setName("newMaterialBalanceAreaText");
    JLabel MBATextLabel = getComponentFactory().createLabelFor(
    		getMessage(newMaterialBalanceAreaText.getName() + ".label"),
    		newMaterialBalanceAreaText);
    formBuilder.getLayoutBuilder().cell(MBATextLabel);
    formBuilder.getLayoutBuilder().gapCol();
    formBuilder.getLayoutBuilder().cell(newMaterialBalanceAreaText);
    thanks moritz
Working...
X