BlackBerry - How to create sub menu?
问题 i want to create sub menu for a BB application when i click on menu item it shows Option 1 Option 2 Option 3 When i click on option 3 it should display 1 2 3 as sub menu items.. using j2me + eclipse 回答1: Always wanted to do this ) alt text http://img380.imageshack.us/img380/3874/menugy.jpg class Scr extends MainScreen { SubMenu menu = new SubMenu(); public Scr() { for (int i = 0; i < 3; i++) { SubMenu sMenu = new SubMenu(); menu.add(new SubMenuItem(i + " item", sMenu)); for (int k = 0; k < 3;