MenuPeer mp = (MenuPeer)getPeer();
int count = getItemCount ();  if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) peer.delItem (i);  peer.addItem (item);  for (int i = index; i < count; i++) peer.addItem ((MenuItem) items.elementAt (i)); }  items.insertElementAt(item, index);
insert(MenuItem item, int index){		if (index < 0)			throw new IllegalArgumentException("Index is less than zero");		items.insertElementAt(item, index);  MenuPeer mp = (MenuPeer)getPeer();		// FIXME: Need to add a peer method here.//    if (mp != null)//      mp.insertItem(item, index);}