Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add a submenu

 
santosh kimothi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understand you correctly, you want a sub-menu?
If yes, check this out http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html

PS. Your post title says adding text... whereas your post says adding a submenu. You might want to use the to edit the title.
 
santosh kimothi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply,,,, now i understand how to add submenu..

thanks again
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic