AWT Tutorial
AWT Useful Resources
Selected Reading
- AWT - Graphics
- AWT - Menu
- AWT - Containers
- AWT - Layouts
- AWT - Event Adapters
- AWT - Event Listeners
- AWT - Event Classes
- AWT - Event Handling
- AWT - Controls
- AWT - Environment
- AWT - Overview
- AWT - Home
AWT Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
AWT - Menu
AWT Menu Classes
As we know that every top-level window has a menu bar associated with it. This menu bar consist of various menu choices available to the end user. Further each choice contains pst of options which is called drop down menus. Menu and MenuItem controls are subclass of MenuComponent class.
Menu Hiearchy
Menu Controls
Sr. No. | Control & Description |
---|---|
1 |
It is the top level class for all menu related controls. |
2 |
The MenuBar object is associated with the top-level window. |
3 |
The items in the menu must belong to the MenuItem or any of its subclass. |
4 | The Menu object is a pull-down menu component which is displayed from the menu bar. |
5 |
CheckboxMenuItem is subclass of MenuItem. |
6 |
PopupMenu can be dynamically popped up at a specified position within a component. |