Description: In part three in this book excerpt series on Swing menus and toolbars from Java Swing, 2nd Edition , learn about the JMenuItem class. The JMenuItem Class Before discussing menus, we should introduce the JMenuItem class. Figure 14-6 shows the class diagram for the JMenuItem component.