Changes

Jump to: navigation, search
4.b. Add Image to the Menu
</source>
4.b.3. Change the instantiation of menu items to use the new class created ''ImageMenuItem'', pass . Pass the name of the menu item to the constructor:<br/>
<source lang="java">
// MenuItem addItem = new MenuItem(new StringProvider("Add Student"), 200, 2); // without image
1
edit

Navigation menu