I'm struggling with the MenuBar at the bottom of a form - the one indicated by the codenameone Javadocs here:

[![enter image description here](https://i.stack.imgur.com/rrP3C.png)](https://i.stack.imgur.com/rrP3C.png)

I can't seem to find an example, but from what I can tell, something like the following should work:

```
    public void start() {
        if(current != null){
            current.show();
            return;
        }

        Form hi = new Form("Welcome");
        MenuBar menubar = hi.getMenuBar();
        Command test = Command.create("TEST",null,(e)->{
            Log.p("test clicked");
        });
        menubar.addCommand(test);

        hi.show();
    }

```

However, I don't get a MenuBar.

Obviously I'm missing something basic here - can anyone show me what I'm doing wrong?