Microsoft SDK for Java

Menu.add

Adds a menu item to the end of this menu.

Syntax

public void add( MenuItem item )

Parameters

item

A MenuItem object that specifies the item to add.

Remarks

A menu item can be inserted into one menu at a time, and the same menu item may not be added more than once to the same menu.

See Also   clear

© 1999 Microsoft Corporation. All rights reserved. Terms of use.