how would I control size of jmenuitem in jmenubar
843804Jun 27 2005 — edited Sep 29 2005I have the following
JMenuBar bar = new JMenuBar();
JMenuItem printItem = new JMenuItem("Print");
printItem.addActionListener(....);
bar.add(printItem);
the problem however is that the menu item takes up much of the menubar. Is there a way to control the size of it so that it appears like the JMenu components? I dont wish to use jtoolbar because the items in the menu are placed in buttons. I would like to maintain the look of a menubar
Thank you all