Changes

Jump to: navigation, search
no edit summary
4.1. Open <code>ViewStudentApp</code> class and add menu items inside the constructor.<br/>
4.2 Add add, edit and delete student options to the menu and set commands to execute:
<presource lang="java">
MyScreen _mainScreen = new MyScreen(this);
pushScreen(_mainScreen);
</presource>
4.3. Create inner classes to execute all commands:
<presource lang="java">
class AddCommandHandler extends CommandHandler
}
}
</presource>
4.4. Run the application. Click on the menu you should see the following:<br/>
[[Image: BB_Menu.png | 300px]]<br/>
4.5. Select one of the menu options. The pop-up message should appear:<br/>
[[Image: BB_Menu2.png | 300px]]
1
edit

Navigation menu