previous
|
start
|
next
Menus
Add menu bar to frame
JMenuBar bar = new JMenuBar();
frame.set
J
MenuBar(bar);
Add menus to the menu bar
JMenu fileMenu
= new JMenu("File");
bar.add(fileMenu);
previous
|
start
|
next