• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMenuItem width  RSS feed

 
Sri Sathiam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a JMenuItem in which the text I would like to put in is actually shorter than the text for the JMenu in which it is located. This results in the widht of the JMenuItem being smaller than the JMenu text above it. So, my question is: Is there a way I can increase the width of the JMenuItem so that it is at least as long as the JMenubar?
Thanks in advance.
Sri
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try something like
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!