Hi,
I got a problem with adding the menu in menu bar,below is the code please help any one
StringBuilder menuTopItems = new StringBuilder();
StringBuilder menuItems = new StringBuilder();
for (int i = 0; i < menuList.size(); i++) {
menuItems.append(menuList.get(i) + ",");
}
if (!menuList.isEmpty()) {
applicationMenu.addMenu("Items",110,
menuItems.toString(),
new ApplicationMenuClickHandler());
}
I got a problem with adding the menu in menu bar,below is the code please help any one
StringBuilder menuTopItems = new StringBuilder();
StringBuilder menuItems = new StringBuilder();
for (int i = 0; i < menuList.size(); i++) {
menuItems.append(menuList.get(i) + ",");
}
if (!menuList.isEmpty()) {
applicationMenu.addMenu("Items",110,
menuItems.toString(),
new ApplicationMenuClickHandler());
}