This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
As you can see, there are white lines on the top and bottom of JMenuItem "About". I'd like to remove them, or change their color to the background's color (gray).
I tried everything. Both the JMenu's (Help) and JMenuItem's (About) borders are set to null and their colors set to gray. The white lines are still there and i have no idea what to do at this point, i can't even figure out what are those exactly.
I'd really appreciate any advice.
Thanks in advance!
in the absence of relevant info like
the look and feel you are using etc.,
about all I can suggest is to use the
right shade of tipex.
Joined: Apr 21, 2012
Hey, thanks for your reply.
I'm using the default look and feel, just playing with the background- and foreground colors.
Both the JMenu and the JMenuItem background colors are set to Color.GRAY. The white lines didn't disappear so i assumed they're some kind of a border. Set both the JMenu and the JMenuItem borders to null, the white lines are still there.
There aren't any white lines between JMenuItems. If there are 5 JMenuItem in a JMenu, the white lines appear only on the top of the first JMenuItem, and the bottom of the last one.
Sorry, but i don't know what do you mean by the "right shade of tipex". Would you explain, please?