public void populateMainScreen(final MainScreen screen) {
final int index = _data.getSelected();
final boolean checked = _data.getChecked();
final String oldText = _data.getOldText();
final XYEdges xyEdges = new XYEdges(2, 2, 2, 2);
final FieldSet fieldSetOne =
new FieldSet("Field Set 1", BorderFactory
.createBevelBorder(xyEdges), BorderFactory
.createSimpleBorder(xyEdges), Border.STYLE_SOLID);
_objectChoiceField =
new ObjectChoiceField("Choices: ", new String[] { "RIM",
"Options", "Demo" }, index);
_checkboxField =
new CheckboxField("Checkbox: ", checked, Field.FIELD_TRAILING
| Field.USE_ALL_WIDTH);
fieldSetOne.add(_objectChoiceField);
fieldSetOne.add(_checkboxField);
fieldSetOne.setMargin(2, 5, 5, 5);
fieldSetOne.setBackground(BackgroundFactory
.createSolidBackground(0x00FFFFFF));
final FieldSet fieldSetTwo =
new FieldSet("Field Set 2", BorderFactory
.createBevelBorder(xyEdges), BorderFactory
.createRoundedBorder(xyEdges), Border.STYLE_SOLID);
_editField =
new EditField("", oldText, MAX_CHARS, Field.EDITABLE
| TextField.NO_NEWLINE);
_editField.setBackground(BackgroundFactory
.createSolidBackground(0xf6f6f6));
_editField.setBorder(BorderFactory.createRoundedBorder(new XYEdges(4,
4, 4, 4), 0xc6c6c6, Border.STYLE_SOLID));
fieldSetTwo.add(new LabelField("Input: "));
fieldSetTwo.add(_editField);
fieldSetTwo
.add(new RichTextField(