Microsoft SDK for Java

MenuItem.dispose

Frees all the resources allocated by this object.

Syntax

public void dispose()

Remarks

A call to this method removes the component from its container (if the component has a site) and triggers the dispose event.

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