MenuComponent in Java

0
36
Spread the love
  • 24
  • 34
  • 14
  • 12
  •  
  •  
  •  
  • 12
  •  
  •  
    96
    Shares

MenuComponent in Java
MenuComponent in Java

MenuComponent in Java:

The abstract class MenuComponent is the super class of all menu related component.

The structure of MenuComponent class is given as:


public abstract class java.awt.MenuComponent extends java.lang.Object{
//constrcutor:
public MenuComponent();
//methods:
public Font getFont();
public MenuContainer getParent();
public MenuComponentPeer getPeer();
public boolean postEvent(Event evt);
protected String paramString();
public void removeNotify();
public void setFont(Font f);
public String toString();
}
 
Don't miss out!
Subscribe To Newsletter

Receive top technical news, lesson ideas, travel tips and more!

Invalid email address
Give it a try. You can unsubscribe at any time.

Spread the love
  • 24
  • 34
  • 14
  • 12
  •  
  •  
  •  
  • 12
  •  
  •  
    96
    Shares

LEAVE A REPLY

Please enter your comment!
Please enter your name here