![]() |
![]() |
![]() |
![]() |
![]() |
|
Because the JMenu class extends the JMenuItem class, you can
treat menus as though they are menu items. Thus, you can construct
hierarchical or cascading menus.
Judicious use of the hierarchical-menu concept helps you to avoid overly
long menus.