AWT

AWT PopupMenu Class

  • Post author:
  • Post category:AWT
  • Post comments:1 Comment

Introduction PopupMenu class represents a menu which can be dynamically popped up at a specified position within a component. Class declaration Following is the declaration for java.awt.PopupMenu class: public class CheckboxMenuItem extends…

Continue ReadingAWT PopupMenu Class

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

AWT Frame Class

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

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

Continue ReadingAWT Frame Class

AWT Panel Class

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

Introduction The Panel class is the simplest container class. It provides space in which an application can attach any other component, including other panels. It uses FlowLayout as default layout manager.…

Continue ReadingAWT Panel Class