954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Gaps between JMenu Item's

Is there any way to extend gaps between jmenuitem?

Majestics
Practically a Master Poster
621 posts since Jul 2007
Reputation Points: 199
Solved Threads: 49
 

1) JMenu.addSeparator

this JSeparator has Color, you can change this Color for translucent effect

2) JMenuItem.setBorder(new EmptyBorder(10,10,10,10));

mKorbel
Veteran Poster
1,141 posts since Feb 2011
Reputation Points: 480
Solved Threads: 224
 

You rock man, Thanx Alot.............................

Majestics
Practically a Master Poster
621 posts since Jul 2007
Reputation Points: 199
Solved Threads: 49
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You