Chris Johnson, Index
Implementation





  	     //Build the menu bar.
                    mb = new MenuBar();
                    setMenuBar(mb);


              //Build first menu in the menu bar.
              //Specifying the second argument as true
              //makes this a tear-off menu.
                    m1 = new Menu("Menu 1", true);
                    mb.add(m1);
                    mi1_1 = new MenuItem("Menu Item 1_1");
                    m1.add(mi1_1);
                    mi1_2 = new MenuItem("Menu Item 1_2");
                    m1.add(mi1_2);







forward