AWT Menu Class

  • Post author:
  • Post category:AWT
  • Post comments:0 Comments

Introduction The Menu class represents pull-down menu component which is deployed from a menu bar. Class declaration Following is the declaration for java.awt.Menu class: public class Menu extends MenuItem implements MenuContainer, Accessible…

Continue ReadingAWT Menu Class

AWT MenuBar Class

  • Post author:
  • Post category:AWT
  • Post comments:0 Comments

Introduction The MenuBar class provides a menu bar bound to a frame and is platform-specific. Class declaration Following is the declaration for java.awt.MenuBar class: public class MenuBar extends MenuComponent implements MenuContainer, Accessible…

Continue ReadingAWT MenuBar Class

AWT MenuComponent Class

  • Post author:
  • Post category:AWT
  • Post comments:3 Comments

Introduction MenuComponent is an abstract class and is the superclass for all menu-related components. Class declaration Following is the declaration for java.awt.MenuComponent class: public abstract class MenuComponent extends Object implements Serializable Class…

Continue ReadingAWT MenuComponent Class

AWT Menu Classes

  • Post author:
  • Post category:AWT
  • Post comments:0 Comments

As we know that every top-level window has a menu bar associated with it. This menu bars consists of various menu choices available to the end-user. Further, each choice contains…

Continue ReadingAWT Menu Classes

AWT Window Class

  • Post author:
  • Post category:AWT
  • Post comments:0 Comments

Introduction The Window class is a top level window with no border and no menubar. It uses BorderLayout as default layout manager. Class declaration Following is the declaration for java.awt.Window class: public class Window…

Continue ReadingAWT Window Class