Double icons with JMenuItem setHorizontalTextPosition on Win
问题 Two icons are rendered when using JMenuItem setHorizontalTextPosition(SwingConstants.LEFT) with Windows Look and Feel. It works fine with the default Java Look and Feel. I just filed a Java bug report, posting here for anyone else having the same problem. Does anyone have another workaround to suggest? Thanks. import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.image.BufferedImage; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax