public void insert (Action a, int index)

Inserts a menu item for the specified Action object at a given position.

Parameters:
a    the Action object to insert
index    specifies the position at which to insert the Action, where 0 is the first

Exceptions:
IllegalArgumentException    if index < 0

See also:
Action