Creating menus: –

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.


Comments are closed.

Create a website or blog at

Up ↑

%d bloggers like this: