Open GoogleCodeExporter opened 8 years ago
I wan unable to reproduce this problem with a simple test case. A more complete
example that produces this error is needed.
My working test case:
public class Client implements EntryPoint {
public void onModuleLoad() {
Menu fileMenu = new Menu();
fileMenu.setShadow(true);
fileMenu.setMinWidth(10);
Item excellent = new Item(); //here i am geting exception
excellent.setText("Excellent");
fileMenu.addItem(excellent);
Panel panel = new Panel();
Toolbar toolbar = new Toolbar();
ToolbarMenuButton button;
button = new ToolbarMenuButton("File");
button.setMenu(fileMenu);
toolbar.addButton(button);
panel.setTopToolbar(toolbar);
new Viewport(panel);
}
}
Original comment by asgill...@gmail.com
on 11 Aug 2008 at 12:36
Original issue reported on code.google.com by
manjunat...@gmail.com
on 1 Jul 2008 at 7:16