File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes how to add a submenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to add a submenu" Watch "how to add a submenu" New topic

how to add a submenu

santosh kimothi
Ranch Hand

Joined: Jun 10, 2009
Posts: 32
i added a jmenuitem to menu, and menu to menubar, its working fine......

but how can i add another menu to jmenuitem,,,,,,,can anybody tell me how to do this...please

Santosh Kimothi,
Java programmer
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10768

If I understand you correctly, you want a sub-menu?
If yes, check this out

PS. Your post title says adding text... whereas your post says adding a submenu. You might want to use the to edit the title.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
santosh kimothi
Ranch Hand

Joined: Jun 10, 2009
Posts: 32
thanks for your reply,,,, now i understand how to add submenu..

thanks again
I agree. Here's the link:
subject: how to add a submenu
It's not a secret anymore!