I need two menus in a menu bar.  I started with a simple Java3d demo that
used a single Choice.

public class App extends Applet implements ItemListener, KeyListener
{
    Choice view, stabilize;
        ....

    public void init() {
        setLayout( new BorderLayout());
        ...
        view = new Choice();                            // first menu
        view.addItem( "ground view");
        ...
        view.addItemListener( this);
        add( "North", view);

        stabilize = new Choice();                       // second menu
        stabilize.addItem( "Stabilization On");
        ...
        stabilize.addItemListener( this);
        add( "NorthEast", stabilize);


Now of course the menus are on top of each other.  Is JMenuBar the right
thing to use to arrange several menus?  I have gotten lost in the documentation
several times with no luck.  This must be really simple.

Mike

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to