I know this is me being completely ocd, but I am having an issue centering the JLabel text within the JPopupMenu.
I've tried popup.add(new JLabel("Menu",JLabel.CENTER));
and label.setHorizontalAlignment(SwingConstants.CENTER);
label.setHorizontalTextPosition(SwingConstants.CENTER));
but no luck.
Anyone know a fix?