AFAIU:
jMenuBar.setBorder(BorderFactory.createLineBorder(Color.black));
Вопрос
in Java Swing how can I change the color of the separator between JMenuBar
and other components. Alternatively I would like to remove the separator.
Решение
AFAIU:
jMenuBar.setBorder(BorderFactory.createLineBorder(Color.black));