previous
|
start
|
next
Menu Items
Add menu items to the menu
JMenuItem fileNew
= new JMenuItem("New");
Add action listener to the menu item
ActionListener l = ...;
fileNew.addActionListener(l);
previous
|
start
|
next