Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Java Swing 中,如何更改JMenuBar与其他组件之间的分隔符的颜色。或者,我想删除分隔符。
JMenuBar
AFAIU:
jMenuBar.setBorder(BorderFactory.createLineBorder(Color.black));