setFont

Sets the font to be used for this menu component to the specified
font. This font is also used by all subcomponents of this menu
component, unless those subcomponents specify a different font.

Some platforms may not support setting of all font attributes
of a menu component; in such cases, calling setFont
will have no effect on the unsupported font attributes of this
menu component. Unless subcomponents of this menu component
specify a different font, this font will be used by those
subcomponents if supported by the underlying platform.

postEvent

Posts the specified event to the menu.
This method is part of the Java 1.0 event system
and it is maintained only for backwards compatibility.
Its use is discouraged, and it may not be supported
in the future.

paramString

Returns a string representing the state of this
MenuComponent. This method is intended to be used
only for debugging purposes, and the content and format of the
returned string may vary between implementations. The returned
string may be empty but may not be null.

getAccessibleContext

Gets the AccessibleContext associated with
this MenuComponent.
The method implemented by this base class returns null.
Classes that extend MenuComponent
should implement this method to return the
AccessibleContext associated with the subclass.