hi, I have got a frame and a button on it. I am opening another frame from that. I am not able to set the menubar in the new frame. I am setting the menubar in the following method:
JMenuItem menuItem = new JMenuItem("Do This"); JMenu menu = new JMenu("Global"); menu.add(menuItem); JMenuBar menuBar = new JMenuBar(); menuBar.add(menu); setJMenuBar(menuBar); Wanted help at the earliest.
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop