Changes

Jump to: navigation, search
4. Add Menu to the Application
=== 4. Add Menu to the Application ===
==== 4.a. Add Menu ====4.a.1. Open <code>ViewStudentApp</code> class and add menu items inside the constructor.<br/>4.a.2 Add add, edit and delete student options to the menu and set commands to execute:
<source lang="java">
MyScreen _mainScreen = new MyScreen(this);
pushScreen(_mainScreen);
</source>
4.a.3. Create inner classes to execute all commands:
<source lang="java">
}
</source>
4.a.4. Run the application. Click on the menu you should see the following:<br/>[[Image: BB_Menu.png | 300px]]<br/>4.a.5. Select one of the menu options. The pop-up message should appear:<br/>[[Image: BB_Menu2.png | 300px]]<br/>  ==== 4.b. Add Image to the Menu ====4.b.1. 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