I'm trying to change the border of a JMenuBar with an other border. Like that (for example) :
From Image 1 http://img11.hostingpics.net/pics/696780Sanstitre.png To Image 2 http://img11.hostingpics.net/pics/900299Sanstitre2.png
But I can't find a way to do that. I can change anything I want but that.
[edit] I have already tried :
UIManager.put("Menu.border", BorderFactory.createLineBorder(Color.black, 1));
UIManager.put("MenuBar.border", BorderFactory.createLineBorder(Color.black, 1));
UIManager.put("MenuItem.border", BorderFactory.createLineBorder(Color.black, 1));
and it's doesn't worked :( ...
[/edit]