Home Segments Top Top Previous Next

949: Mainline

Once you have created a menu bar, you attach it to a target, a JApplet instance or a JFrame instance, using setJMenuBar:

setJMenuBar(a menubar);