You need to add the menu item to a JMenu.
Therefore what I suggest you do is something like:
1. JMenu menu;
2. JMenuBar menuBar = new JMenuBar();
3. JMenuItem menuItem;
4. menu = new JMenu("File");
5. menuBar.add(menu);
6. menuItem = menu.add(new JMenuItem("Open"));
[and now you can use menuItem to add an ActionListener or any other things
you'd like to do.]
Repeat line 4 to 6 until your menuBar is completed.
Hope this helps,
Chris.
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/