Skip to main content

java popupmenu height

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2009-02-05

I have a Java swing popupmenu with a couple of menuItems.

Is there any way to increase the size of the popup keeping the same number of menuItems? For example, add 10px before the 1st menuItem and 10px after the last menuItem.

How can I do this? Can someone give me an hint?