title: Java Swing JSeparator in Menu incorrectly placed
body: <p>I have a problem when i want insert a separator with JSeparator for Java Swing application. In point of fact, I have this problem just when i run my program on Mac, i haven't it on windows or linux. The separator is incorrectly placed, the text is strikethrough. Does anyone know why?</p>
  
  <p>My code :</p>
  
  <pre><code>JMenuItem fileItem = new JMenuItem("Close");
  KeyStroke ...
  fileItem.add(new JSeparator(JSeparator.HORIZONTAL),BorderLayout.LINE_START);
  </code></pre>
  
  <p>Screenshot : 
  <img src="https://i.stack.imgur.com/MqZ6w.png" alt="enter image description here"></p>