menuItem.setOpaque(true);
  protected void installDefaults()  {    String prefix = getPropertyPrefix();    LookAndFeel.installBorder(menuItem, prefix + ".border");    LookAndFeel.installColorsAndFont(menuItem, prefix + ".background",                                     prefix + ".foreground", prefix + ".font");    menuItem.setMargin(UIManager.getInsets(prefix + ".margin"));    acceleratorFont = UIManager.getFont(prefix + ".acceleratorFont");    acceleratorForeground = UIManager.getColor(prefix + ".acceleratorForeground");    acceleratorSelectionForeground = UIManager.getColor(prefix + ".acceleratorSelectionForeground");    selectionBackground = UIManager.getColor(prefix + ".selectionBackground");    selectionForeground = UIManager.getColor(prefix + ".selectionForeground");    acceleratorDelimiter = UIManager.getString(prefix + ".acceleratorDelimiter");    checkIcon = UIManager.getIcon(prefix + ".checkIcon");    menuItem.setHorizontalTextPosition(SwingConstants.TRAILING);    menuItem.setHorizontalAlignment(SwingConstants.LEADING);    menuItem.setOpaque(true);  }