M
M
Mimocodil2021-12-29 20:14:35
Java
Mimocodil, 2021-12-29 20:14:35

How to customize the menu in LookAndFeel?

On the left is the standard menu with a dash (Windows 7), on the right is an analogue from Java after applying the code

UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

61cc971481dcf572592729.png
In the version on the left, the dash does not cross the vertical bar, but in my program it does. How to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question