Take a look at this picture:
It seems my green arrow button keeps making the JMenuBar
taller than it should be, notice the space above and below the rest of the buttons. How do I stop it from doing this? I've tried making the JButton
border/padding as small as possible, here is my code:
JButton runFlow;
runFlow = new JButton(IconHandler.getIcon(IconHandler.RUN_ICON));
runFlow.setOpaque(false);
runFlow.setContentAreaFilled(false);
runFlow.setBorder(null);
runFlow.setBorderPainted(false);
runFlow.setMargin(new java.awt.Insets(0,0,0,0));
Is it something to do with the menu bar format?