2
edits
Changes
no edit summary
'''Step 5.'''
The second screen must have a title, textfield, and button to let the user go back to the first screen.
For the title one could use:
void net.rim.device.api.ui.container.MainScreen.setTitle(Field arg0)
for the field, you can build a LabelField object with
net.rim.device.api.ui.component.LabelField
LabelField(Object arg0, long arg1)
Thus, to set the title of the screen you can write the instruction:
setTitle(new LabelField("Second Screen !", LabelField.USE_ALL_WIDTH));