• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Word wrap in JMenuItem

 
Ajit Malleri
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I need help in word wrapping the text written in the JMenuItem.
Now if the text is large, the menu item expands. I want the text
to be word wrapped.
Any help would be highly appreciable.
Ajit
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using html tags. Start with <html>, use <br> for your line break and finish with </html>
 
Ajit Malleri
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.
Ajit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic