StyleUtil.fillBackground(style, g, 0, 0, menu.getWidth(), menu.getHeight());
}
@Override
public Popup getPopup(JPopupMenu menu, int x, int y) {
Popup popup = super.getPopup(menu, x, y);
/*
* The menu should now have a parent, which is probably a JPanel, In
* which case its borders need to be deleted.
*/
Container parent = menu.getParent();