Creating menus: – Inside the window, user can create menus. We can add AWT menus to frame class windows using three AWT classes such as menu bar, menu and menu item. The first class we use is the menu bar class, which adds a menu bar to a frame window. After we have added a menu bar to a frame window, we can add menu items inside the menu.

Advertisements