while(i.hasNext()) {
String name = (String) map.get(i.next());
// Setup an event which will be sent when
// the menu item is pressed.
OpenRequestEvent event = new OpenRequestEvent(
getContext(), new File(name));
AntMenu subMenu = new AntMenu(getContext(),
event, name);
JMenuItem item = _menu.add(subMenu);